IRelayCommand<T>.CanExecute(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a strongly-typed variant of CanExecute(Object).
public bool CanExecute (T? parameter);
abstract member CanExecute : 'T -> bool
Public Function CanExecute (parameter As T) As Boolean
Parameters
- parameter
- T
The input parameter.
Returns
Whether or not the current command can be executed.
Remarks
Use this overload to avoid boxing, if T
is a value type.