Method | Description | |
---|---|---|
CanExecute ( object parameter ) : bool |
Determines if the command can execute.
|
|
DelegateCommand ( Action |
Initializes a new instance of the DelegateCommand class.
|
|
DelegateCommand ( bool>.Func |
Initializes a new instance of the DelegateCommand class.
|
|
Execute ( object parameter ) : void |
Executes the command.
|
|
OnCanExecuteChanged ( ) : void |
Invokes the CanExecuteChanged event.
|
public CanExecute ( object parameter ) : bool | ||
parameter | object | Data used by the command. |
return | bool |
public DelegateCommand ( Action |
||
execute | Action |
Action to invoke when Execute is called. |
return | System |
public DelegateCommand ( bool>.Func |
||
canExecute | bool>.Func | Func to invoke when CanExecute is called. |
execute | Action |
Action to invoke when Execute is called. |
return | System |
public Execute ( object parameter ) : void | ||
parameter | object | Data used by the command. |
return | void |