Click or drag to resize

CefContextMenuParams Class

Provides information about the context menu state. The ethods of this class can only be accessed on browser process the UI thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefContextMenuParams

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public sealed class CefContextMenuParams : IDisposable

The CefContextMenuParams type exposes the following members.

Properties
 NameDescription
Public propertyContextMenuType Returns flags representing the type of node that the context menu was invoked on.
Public propertyEditState Returns flags representing the actions supported by the editable node, if any, that the context menu was invoked on.
Public propertyFrameCharset Returns the character encoding of the subframe that the context menu was invoked on.
Public propertyFrameUrl Returns the URL of the subframe that the context menu was invoked on.
Public propertyHasImageContents Returns true if the context menu was invoked on an image which has non-empty contents.
Public propertyIsCustomMenu Returns true if the context menu contains items specified by the renderer process (for example, plugin placeholder or pepper plugin menu items).
Public propertyIsEditable Returns true if the context menu was invoked on an editable node.
Public propertyIsPepperMenu Returns true if the context menu was invoked from a pepper plugin.
Public propertyIsSpellCheckEnabled Returns true if the context menu was invoked on an editable node where spell-check is enabled.
Public propertyLinkUrl Returns the URL of the link, if any, that encloses the node that the context menu was invoked on.
Public propertyMediaState Returns flags representing the actions supported by the media element, if any, that the context menu was invoked on.
Public propertyMediaType Returns the type of context node that the context menu was invoked on.
Public propertyPageUrl Returns the URL of the top level page that the context menu was invoked on.
Public propertySelectionText Returns the text of the selection, if any, that the context menu was invoked on.
Public propertySourceUrl Returns the source URL, if any, for the element that the context menu was invoked on. Example of elements with source URLs are img, audio, and video.
Public propertyUnfilteredLinkUrl Returns the link URL, if any, to be used ONLY for "copy link address". We don't validate this field in the frontend process.
Public propertyX Returns the X coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.
Public propertyY Returns the Y coordinate of the mouse where the context menu was invoked. Coords are relative to the associated RenderView's origin.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the CefContextMenuParams
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetDictionarySuggestions Returns true if suggestions exist, false otherwise. Fills in |suggestions| from the spell check service for the misspelled word if there is one.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMisspelledWord Returns the text of the misspelled word, if any, that the context menu was invoked on.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also