Method | Description | |
---|---|---|
DelegateCommand ( System.Action execute ) : System |
Initializes a new instance of the RelayCommand class that can always execute.
|
|
DelegateCommand ( System.Action execute, Func |
Initializes a new instance of the RelayCommand class.
|
|
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
Method | Description | |
---|---|---|
CanExecute ( object parameter ) : bool | ||
RaiseCanExecuteChanged ( ) : void |
public DelegateCommand ( System.Action execute ) : System | ||
execute | System.Action | The execution logic. |
return | System |
public DelegateCommand ( System.Action execute, Func |
||
execute | System.Action | The execution logic. |
canExecute | Func |
The execution status logic. |
return | System |
public Execute ( object parameter ) : void | ||
parameter | object | This parameter will always be ignored. |
return | void |