ICommand

ICommand class

Defines a command.

Methods

NameDescription
ExecuteDefines the method to be called when the command is invoked.
get_CanExecuteDefines the operator that determines whether the command can execute in its current state.
CanExecuteChangedOccurs when changes occur that affect whether or not the command should execute.