Gets or sets the command to invoke when the menu item is pressed.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public ICommand Command { get; set; }
Public Property Command As ICommand
Get
Set
member Command : ICommand with get, set
Property Value
Type:
ICommandThe command to invoke.
Remarks
This will invoke the specified command when the menu item is pressed.
The
CanExecute(Object) will also used to set the enabled/disabled state of the menu item.
See Also