-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Command
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
2 revisions
Base abstract class for commands with an execute method.
namespace: Crow
-
Command
public class Command : CommandBase
⬜ | prototype | description |
---|---|---|
Command () |
__ | |
Command (string caption, string icon=null, bool _canExecute=true) |
__ | |
Command (ICommandHost _host, string caption, string icon, KeyBinding _keyBinding=null, bool _canExecute=true) |
__ | |
Command (ICommandHost _host, string caption, string icon, KeyBinding _keyBinding=null, Binding< bool > _canExecuteBinding=null) |
__ |
⬜ | name | description |
---|---|---|
CanExecute |
if true, command may be executed, | |
HasCanExecuteBinding |
__ | |
HasKeyBinding |
__ | |
KeyBinding |
__ |
⬜ | prototype | description |
---|---|---|
void Dispose() |
__ | |
void Execute(object sender=null) |
trigger the execution of the command |
⬜ | name | description |
---|