Interface IDisposableMenuItem

Interface for disposable item menu

Hierarchy

Properties

The arguments for the command.

caption: string

The display caption for the menu item.

className: string

The extra class name for the menu item.

command: string

The command to execute when the item is triggered.

dataset: Dataset

The dataset for the menu item.

icon: IRenderer

The icon renderer for the menu item.

iconClass: string

The icon class for the menu item.

iconLabel: string

The icon label for the menu item.

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

isEnabled: boolean

Whether the menu item is enabled.

isToggled: boolean

Whether the menu item is toggled.

isVisible: boolean

Whether the menu item is visible.

keyBinding: IKeyBinding

The key binding for the menu item.

label: string

The display label for the menu item.

mnemonic: number

The mnemonic index for the menu item.

submenu: Menu

The submenu for a 'submenu' type item.

type: ItemType

The type of the menu item.

Methods

  • Dispose of the resources held by the object.

    Notes

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void

Generated using TypeDoc