Defines the method that determines whether the action can execute in its current state.
Declaration
bool CanExecute(object target)
Function CanExecute(target As Object) As Boolean
Parameters
Type |
Name |
Description |
object |
target |
The target object to execute this action.
|
Returns
Type |
Description |
bool |
true if this action can be executed; otherwise, false.
|