CefContextMenuParams Class |
Namespace: Internal.Xilium.CefGlue
public sealed class CefContextMenuParams : IDisposable
The CefContextMenuParams type exposes the following members.
| Name | Description | |
|---|---|---|
| ContextMenuType |
Returns flags representing the type of node that the context menu was
invoked on.
| |
| EditState |
Returns flags representing the actions supported by the editable node, if
any, that the context menu was invoked on.
| |
| FrameCharset |
Returns the character encoding of the subframe that the context menu was
invoked on.
| |
| FrameUrl |
Returns the URL of the subframe that the context menu was invoked on.
| |
| HasImageContents |
Returns true if the context menu was invoked on an image which has
non-empty contents.
| |
| IsCustomMenu |
Returns true if the context menu contains items specified by the renderer
process (for example, plugin placeholder or pepper plugin menu items).
| |
| IsEditable |
Returns true if the context menu was invoked on an editable node.
| |
| IsPepperMenu |
Returns true if the context menu was invoked from a pepper plugin.
| |
| IsSpellCheckEnabled |
Returns true if the context menu was invoked on an editable node where
spell-check is enabled.
| |
| LinkUrl |
Returns the URL of the link, if any, that encloses the node that the
context menu was invoked on.
| |
| MediaState |
Returns flags representing the actions supported by the media element, if
any, that the context menu was invoked on.
| |
| MediaType |
Returns the type of context node that the context menu was invoked on.
| |
| PageUrl |
Returns the URL of the top level page that the context menu was invoked on.
| |
| SelectionText |
Returns the text of the selection, if any, that the context menu was
invoked on.
| |
| SourceUrl |
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.
| |
| UnfilteredLinkUrl |
Returns the link URL, if any, to be used ONLY for "copy link address". We
don't validate this field in the frontend process.
| |
| X |
Returns the X coordinate of the mouse where the context menu was invoked.
Coords are relative to the associated RenderView's origin.
| |
| Y |
Returns the Y coordinate of the mouse where the context menu was invoked.
Coords are relative to the associated RenderView's origin.
|
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the CefContextMenuParams | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetDictionarySuggestions |
Returns true if suggestions exist, false otherwise. Fills in |suggestions|
from the spell check service for the misspelled word if there is one.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetMisspelledWord |
Returns the text of the misspelled word, if any, that the context menu was
invoked on.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |