IContextMenuParams Interface |
Namespace: CefSharp
The IContextMenuParams type exposes the following members.
Name | Description | |
---|---|---|
DictionarySuggestions |
Returns a list of strings from the spell check service for the misspelled word if there is one.
| |
EditStateFlags |
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.
| |
IsDisposed |
Gets a value indicating whether the object has been disposed of.
| |
IsEditable |
Returns true if the context menu was invoked on an editable node.
| |
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.
| |
MediaStateFlags |
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.
| |
MisspelledWord |
Returns the text of the misspelled word, if any, 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.
| |
TypeFlags |
Returns flags representing the type of node that the context menu was invoked on.
| |
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.
| |
XCoord |
Returns the X coordinate of the mouse where the context menu was invoked.
Coords are relative to the associated RenderView's origin.
| |
YCoord |
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 | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |