ReadonlyargsThe arguments for the command.
ReadonlycaptionThe display caption for the menu item.
ReadonlyclassThe extra class name for the menu item.
ReadonlycommandThe command to execute when the item is triggered.
ReadonlydatasetThe dataset for the menu item.
ReadonlyiconThe icon renderer for the menu item.
ReadonlyiconThe icon class for the menu item.
ReadonlyiconThe icon label for the menu item.
ReadonlyisReadonlyisWhether the menu item is enabled.
ReadonlyisWhether the menu item is toggled.
ReadonlyisWhether the menu item is visible.
ReadonlykeyThe key binding for the menu item.
ReadonlylabelThe display label for the menu item.
ReadonlymnemonicThe mnemonic index for the menu item.
ReadonlysubmenuThe submenu for a 'submenu' type item.
ReadonlytypeThe type of the menu item.
Dispose of the resources held by the object.
If the object's dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Interface for disposable item menu