Click or drag to resize
CfxOnContextMenuCommandEventArgs Class

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

Called to execute a command selected from the context menu. Return true (1) if the command was handled or false (0) for the default implementation. See CfxMenuId 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 on_before_context_menu(). Do not keep a reference to |Params| outside of this callback.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnContextMenuCommandEventArgs

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

The CfxOnContextMenuCommandEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnContextMenuCommand callback.
Public propertyCommandId
Get the CommandId parameter for the OnContextMenuCommand callback.
Public propertyEventFlags
Get the EventFlags parameter for the OnContextMenuCommand callback.
Public propertyFrame
Get the Frame parameter for the OnContextMenuCommand callback.
Public propertyParams
Get the Params parameter for the OnContextMenuCommand callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnContextMenuCommand callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_context_menu_handler_capi.h.
See Also