CefContextMenuHandler OnContextMenuCommand Method Xilium.CefGlue

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

Called to execute a command selected from the context menu. Return true if the command was handled or false for the default implementation. 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. |params| will have the same values as what was passed to OnBeforeContextMenu(). Do not keep a reference to |params| 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 bool OnContextMenuCommand(
	CefBrowser browser,
	CefFrame frame,
	CefContextMenuParams state,
	int commandId,
	CefEventFlags eventFlags
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

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

frame
Type: Xilium.CefGlue CefFrame

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

state
Type: Xilium.CefGlue CefContextMenuParams

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

commandId
Type: OnlineSystem Int32

[Missing <param name="commandId"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnContextMenuCommand(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,System.Int32,Xilium.CefGlue.CefEventFlags)"]

eventFlags
Type: Xilium.CefGlue CefEventFlags

[Missing <param name="eventFlags"/> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnContextMenuCommand(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,System.Int32,Xilium.CefGlue.CefEventFlags)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.CefContextMenuHandler.OnContextMenuCommand(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefFrame,Xilium.CefGlue.CefContextMenuParams,System.Int32,Xilium.CefGlue.CefEventFlags)"]

See Also