Method | Description | |
---|---|---|
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
|
RelayCommand ( Action |
Initializes a new instance of the RelayCommand class.
|
|
RelayCommand ( Action |
Initializes a new instance of the RelayCommand class.
|
Method | Description | |
---|---|---|
CanExecute ( object parameter ) : 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 ( Action |
||
execute | Action |
The execute. |
return | System |
public RelayCommand ( Action |
||
execute | Action |
The execute. |
canExecute | Predicate |
The can execute. |
return | System |