IContextMenuHandlerOnContextMenuCommand Method |
Version 130.1.90
Called to execute a command selected from the context menu. See
cef_menu_id_t for the command ids that have default implementations. All
user-defined command ids should be between MENU_ID_USER_FIRST and
MENU_ID_USER_LAST.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax bool OnContextMenuCommand(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IContextMenuParams parameters,
CefMenuCommand commandId,
CefEventFlags eventFlags
)
bool OnContextMenuCommand(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IContextMenuParams^ parameters,
CefMenuCommand commandId,
CefEventFlags eventFlags
)
Parameters
- chromiumWebBrowser IWebBrowser
- the ChromiumWebBrowser control
- browser IBrowser
- the browser object
- frame IFrame
- The frame the request is coming from
- parameters IContextMenuParams
- will have the same values as what was passed to
- commandId CefMenuCommand
- menu command id
- eventFlags CefEventFlags
- event flags
Return Value
BooleanReturn true if the command was handled or false for the default implementation.
See Also