Method | 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 ( 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. /// |
return | 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. /// |
return | void |
public RelayCommand ( System.Action execute ) : System | ||
execute | System.Action | The execution logic. |
return | System |
public RelayCommand ( System.Action execute, Func |
||
execute | System.Action | The execution logic. |
canExecute | Func |
The execution status logic. |
return | System |