Méthode | Description | |
---|---|---|
CanExecute ( object parameter ) : bool |
Determines whether this RelayCommand can execute in its current state.
|
|
Execute ( object parameter ) : void |
Executes the RelayCommand on the current command target.
|
|
RaiseCanExecuteChanged ( ) : void |
Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
|
|
RelayCommand ( Action |
Creates a new command that can always execute.
|
|
RelayCommand ( Action |
Creates a new 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 |
public RelayCommand ( Action | ||
execute | Action | The execution logic. |
Résultat | System |
public RelayCommand ( Action | ||
execute | Action | The execution logic. |
canExecute | Func |
The execution status logic. |
Résultat | System |