Click or drag to resize

CefContextMenuHandlerOnBeforeContextMenu Method

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: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
protected virtual void OnBeforeContextMenu(
	CefBrowser browser,
	CefFrame frame,
	CefContextMenuParams state,
	CefMenuModel model
)

Parameters

browser  CefBrowser
 
frame  CefFrame
 
state  CefContextMenuParams
 
model  CefMenuModel
 
See Also