Gets or sets the command to invoke when the button 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 button is pressed.
The
CanExecute(Object) will also used to set the enabled/disabled state of the button.
See Also