Method | Description | |
---|---|---|
CanExecute ( ) : bool |
Determines whether this command can be executed.
|
|
CanExecute ( object parameter ) : bool |
Determines whether this command can be executed.
|
|
Execute ( object parameter ) : void |
Executes this command.
|
|
RelayCommand ( Action |
Initializes a new instance of the RelayCommand class.
|
|
RelayCommand ( Action |
Initializes a new instance of the RelayCommand class.
|
public CanExecute ( object parameter ) : bool | ||
parameter | object | The parameter. |
return | bool |
public Execute ( object parameter ) : void | ||
parameter | object | The parameter. |
return | void |
public RelayCommand ( Action | ||
action | Action | The action to be invoked when this command is triggered. |
return | System |
public RelayCommand ( Action | ||
action | Action | The action to be invoked when this command is triggered. |
canExecute | Func |
Precondition determining whether this command can be executed or not. |
return | System |