[]
Defines the method that determines whether the command can execute in its current state.
bool CanExecute(object parameter)
Type | Name | Description |
---|---|---|
object | parameter | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Type | Description |
---|---|
bool | True if the command can execute; otherwise, false. |