Метод | Описание | |
---|---|---|
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 ( System.Action execute ) : System |
Creates a new command that can always execute.
|
|
RelayCommand ( System.Action execute, Func |
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. /// |
Результат | 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. /// |
Результат | void |
public RelayCommand ( System.Action execute ) : System | ||
execute | System.Action | The execution logic. |
Результат | System |
public RelayCommand ( System.Action execute, Func |
||
execute | System.Action | The execution logic. |
canExecute | Func |
The execution status logic. |
Результат | System |