Click or drag to resize
CfxOnBeforeContextMenuEventArgs Class

[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.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnBeforeContextMenuEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnBeforeContextMenuEventArgs : CfxEventArgs

The CfxOnBeforeContextMenuEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnBeforeContextMenu callback.
Public propertyFrame
Get the Frame parameter for the OnBeforeContextMenu callback.
Public propertyModel
Get the Model parameter for the OnBeforeContextMenu callback.
Public propertyParams
Get the Params parameter for the OnBeforeContextMenu callback.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_context_menu_handler_capi.h.
See Also