Skip to content
Jean-Philippe Bruyère edited this page Oct 26, 2021 · 2 revisions

Base abstract class for commands with an execute method.

namespace: Crow

Inheritance Hierarchy

Syntax

public class Command : CommandBase

Constructors

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) __

Properties

name description
CanExecute if true, command may be executed,
HasCanExecuteBinding __
HasKeyBinding __
KeyBinding __

Methods

prototype description
void Dispose() __
void Execute(object sender=null) trigger the execution of the command

Events

name description
Clone this wiki locally