Click or drag to resize

IContextMenuProvider Interface

Interface exposed by a context menu provider.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public interface IContextMenuProvider

The IContextMenuProvider type exposes the following members.

Properties
  NameDescription
Public propertyHasParentProvider
Does this provider have a parent provider.
Public propertyProviderCanCloseMenu
Is context menu capable of being closed.
Public propertyProviderCloseReason
Sets the reason for the context menu being closed.
Public propertyProviderEnabled
Is the entire context menu enabled.
Public propertyProviderImages
Gets access to the context menu images.
Public propertyProviderNeedPaintDelegate
Gets a delegate used to indicate a repaint is required.
Public propertyProviderPalette
Gets access to the custom palette.
Public propertyProviderPaletteMode
Gets access to the palette mode.
Public propertyProviderRedirector
Gets access to the context menu redirector.
Public propertyProviderShowHorz
Gets and sets the horizontal setting used to position the menu.
Public propertyProviderShowVert
Gets and sets the vertical setting used to position the menu.
Public propertyProviderStateChecked
Gets access to the context menu checked state.
Public propertyProviderStateCommon
Gets access to the context menu common state.
Public propertyProviderStateDisabled
Gets access to the context menu disabled state.
Public propertyProviderStateHighlight
Gets access to the context menu highlight state.
Public propertyProviderStateNormal
Gets access to the context menu normal state.
Public propertyProviderViewColumns
Gets access to the layout for context menu columns.
Public propertyProviderViewManager
Gets access to the context menu specific view manager.
Top
Methods
  NameDescription
Public methodOnClose
Fires the Close event.
Public methodOnClosing
Fires the Closing event.
Public methodOnDispose
Fires the Closing event.
Public methodProviderShowSubMenuFixed
Should the sub menu be shown at fixed screen location for this menu item.
Public methodProviderShowSubMenuFixedRect
Should the sub menu be shown at fixed screen location for this menu item.
Top
Events
  NameDescription
Public eventClose
Raises the Close event.
Public eventClosing
Raises the Closing event.
Public eventDispose
Raises the Dispose event.
Top
See Also