Click or drag to resize

CefContextMenuHandlerOnContextMenuCommand Method

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: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
protected virtual bool OnContextMenuCommand(
	CefBrowser browser,
	CefFrame frame,
	CefContextMenuParams state,
	int commandId,
	CefEventFlags eventFlags
)

Parameters

browser  CefBrowser
 
frame  CefFrame
 
state  CefContextMenuParams
 
commandId  Int32
 
eventFlags  CefEventFlags
 

Return Value

Boolean
See Also