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.
|
|
RelayCommand ( System.Action execute, Func |
Creates a new RelayCommand for the common case delegates.
|
|
RelayCommand ( Action |
Creates a new RelayCommand.
|
public CanExecute ( object parameter ) : bool | ||
parameter | object |
/// Data used by the |
Résultat | bool |
public Execute ( object parameter ) : void | ||
parameter | object |
/// Data used by the |
Résultat | void |
public RelayCommand ( System.Action execute, Func |
||
execute | System.Action | Execute method pointer. |
canExecute | Func |
Can execute method pointer. |
Résultat | System |
public RelayCommand ( Action |
||
execute | Action |
Execute method pointer. |
canExecute | Predicate |
Can execute method pointer. |
Résultat | System |