-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.ActionCommand
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
1 revision
helper class to bind in one step icon, caption, action, and validity tests to a controls
namespace: Crow
ActionCommand
public class ActionCommand : Command
⬜ | prototype | description |
---|---|---|
ActionCommand () |
__ | |
ActionCommand (Action _executeAction) |
Initializes a new instance of Command with the action passed as argument. | |
ActionCommand (Action< object > _executeAction) |
Initializes a new instance of Command with the action passed as argument. | |
ActionCommand (string caption, Action executeAction, string icon=null, bool _canExecute=true) |
__ | |
ActionCommand (string caption, Action< object > executeAction, string icon=null, bool _canExecute=true) |
__ | |
ActionCommand (ICommandHost _host, string caption, Action executeAction, string icon=null, KeyBinding _keyBinding=null, Binding< bool > _canExecuteBinding=null) |
__ | |
ActionCommand (ICommandHost _host, string caption, Action< object > executeAction, string icon=null, KeyBinding _keyBinding=null, Binding< bool > _canExecuteBinding=null) |
__ | |
ActionCommand (Action< T > _executeAction) |
__ | |
ActionCommand (string caption, Action< T > executeAction, string icon=null, bool _canExecute=true) |
__ |
⬜ | name | description |
---|
⬜ | prototype | description |
---|---|---|
void Execute(object sender=null) |
trigger the execution of the command |
⬜ | name | description |
---|