Méthode | Description | |
---|---|---|
CanExecute ( object parameter ) : bool |
Defines the method that determines whether the command can execute in its current state.
|
|
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
|
OnCanExecuteChanged ( ) : void |
Raises the CanExecuteChanged event.
|
Méthode | Description | |
---|---|---|
OnExecute ( object parameter ) : void |
Executes the command.
|
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. |
Résultat | bool |
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. |
Résultat | void |
protected abstract OnExecute ( object parameter ) : void | ||
parameter | object | The parameter. |
Résultat | void |