MenuItem Properties |
The MenuItem type exposes the following members.
Name | Description | |
---|---|---|
Command |
Gets or sets the command to invoke when the menu item is pressed.
| |
CommandParameter |
Gets or sets the parameter to pass to the Command when executing or determining its CanExecute state.
| |
Enabled |
Gets or sets a value indicating whether this MenuItem is enabled.
| |
Order |
Gets or sets the order that the menu item should use when inserted into a submenu.
| |
Shortcut |
Gets or sets the shortcut key the user can press to activate the menu item.
| |
Tag |
Gets or sets a user-defined tag for the menu item.
| |
Text |
Gets or sets the text of the menu item, with mnemonics identified with &.
| |
ToolTip |
Gets or sets the tool tip of the item.
| |
Visible |
Gets or sets a value indicating whether this MenuItem is visible.
|