IContextMenuHandlerOnBeforeContextMenu Method |
Version 130.1.90
Called before a context menu is displayed. The model can be cleared to show no context menu or
modified to show a custom menu.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax void OnBeforeContextMenu(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IContextMenuParams parameters,
IMenuModel model
)
void OnBeforeContextMenu(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IContextMenuParams^ parameters,
IMenuModel^ model
)
Parameters
- chromiumWebBrowser IWebBrowser
- the ChromiumWebBrowser control
- browser IBrowser
- the browser object
- frame IFrame
- The frame the request is coming from
- parameters IContextMenuParams
- provides information about the context menu state
- model IMenuModel
- initially contains the default context menu
See Also