Method CanExecute
CanExecute(T?)
Provides a strongly-typed variant of ICommand.CanExecute(object).
Declaration
bool CanExecute(T? parameter)
Parameters
Type | Name | Description |
---|---|---|
T | parameter | The input parameter. |
Returns
Type | Description |
---|---|
bool | Whether or not the current command can be executed. |
Remarks
Use this overload to avoid boxing, if T
is a value type.