Click or drag to resize
CfxMenuModelDelegate Class

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

Implement this structure to handle menu model events. The functions of this structure will be called on the browser process UI thread unless otherwise indicated.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxClientBase
        ChromiumCfxMenuModelDelegate

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxMenuModelDelegate : CfxClientBase

The CfxMenuModelDelegate type exposes the following members.

Constructors
  NameDescription
Public methodCfxMenuModelDelegate
Initializes a new instance of the CfxMenuModelDelegate class
Top
Properties
  NameDescription
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Top
Events
  NameDescription
Public eventExecuteCommand
Perform the action associated with the specified |CommandId| and optional |EventFlags|.
Public eventFormatLabel
Optionally modify a menu item label. Return true (1) if |Label| was modified.
Public eventMenuClosed
The menu has closed.
Public eventMenuWillShow
The menu is about to show.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_menu_model_delegate_capi.h.
See Also