Метод | Описание | |
---|---|---|
CanExecute ( object parameter ) : bool |
Defines the method that determines whether the command can execute in its current state.
|
|
DelegateCommand ( Action | ||
DelegateCommand ( Action | ||
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
Метод | Описание | |
---|---|---|
OnCanExecuteChanged ( ) : void |
public CanExecute ( object parameter ) : bool | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Результат | bool |
public DelegateCommand ( Action |
||
action | Action |
|
Результат | System |
public DelegateCommand ( Action |
||
action | Action |
|
canExecute | Predicate |
|
Результат | System |
public Execute ( object parameter ) : void | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Результат | void |