메소드 | 설명 | |
---|---|---|
CanExecute ( object parameter ) : bool |
Determines whether this RelayCommand can execute in its current state.
|
|
RaiseCanExecuteChanged ( ) : void |
Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
|
메소드 | 설명 | |
---|---|---|
BaseCommand ( Func |
Intializes BaseCommand for relay commands.
|
protected BaseCommand ( Func |
||
canExecute | Func |
If set to true, command can be executed. Otherwise, false. |
리턴 | System |
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. /// |
리턴 | bool |