MenuItem Class |
Namespace: Eto.Forms
The MenuItem type exposes the following members.
Name | Description | |
---|---|---|
MenuItem |
Initializes a new instance of the MenuItem class.
| |
MenuItem(Command) |
Initializes a new instance of the MenuItem class with the specified command.
|
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.
|
Name | Description | |
---|---|---|
GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.) | |
OnClick |
Raises the Click event.
| |
OnValidate |
Raises the Validate event.
| |
PerformClick |
Performs the click handler for this item.
|
Name | Description | |
---|---|---|
Click |
Occurs when the user clicks or selects the menu item.
| |
Validate |
Occurs when the menu item is validated.
|
Name | Description | |
---|---|---|
ValidateEvent |
Identifier for handlers when attaching the Validate event.
|