CefContextMenuHandler OnBeforeContextMenu Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

Called before a context menu is displayed. |params| provides information about the context menu state. |model| initially contains the default context menu. The |model| can be cleared to show no context menu or modified to show a custom menu. Do not keep references to |params| or |model| outside of this callback.

Namespace: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected virtual void OnBeforeContextMenu(
	CefBrowser browser,
	CefFrame frame,
	CefContextMenuParams state,
	CefMenuModel model
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnBeforeContextMenu(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,Xilium.CefGlue.CefMenuModel)"]

frame
Type: Xilium.CefGlue CefFrame

[Missing <param name="frame"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnBeforeContextMenu(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,Xilium.CefGlue.CefMenuModel)"]

state
Type: Xilium.CefGlue CefContextMenuParams

[Missing <param name="state"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnBeforeContextMenu(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,Xilium.CefGlue.CefMenuModel)"]

model
Type: Xilium.CefGlue CefMenuModel

[Missing <param name="model"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnBeforeContextMenu(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,Xilium.CefGlue.CefMenuModel)"]

See Also