Click or drag to resize

IContextMenuTarget Interface

Interface used to control width of a context menu item column.

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 IContextMenuTarget

The IContextMenuTarget type exposes the following members.

Properties
  NameDescription
Public propertyClientRectangle
Get the client rectangle for the display of this target.
Public propertyHasSubMenu
Returns if the item shows a sub menu when selected.
Top
Methods
  NameDescription
Public methodClearSubMenu
This target should remove any showing sub menu.
Public methodClearTarget
This target should clear any active display.
Public methodDoesStackedClientMouseDownBecomeCurrent
Should a mouse down at the provided point cause the currently stacked context menu to become current.
Public methodGetActiveView
Gets the view element that should be used when this target is active.
Public methodMatchMnemonic
Determine if the keys value matches the mnemonic setting for this target.
Public methodMnemonicActivate
Activate the item because of a mnemonic key press.
Public methodShowSubMenu
This target should show any appropriate sub menu.
Public methodShowTarget
This target should display as the active target.
Top
See Also