Method CanExecute
CanExecute(object?)
Determines whether this RelayCommand can execute in its current state.
Declaration
public bool CanExecute(object? parameter)
Parameters
Type | Name | Description |
---|---|---|
object | parameter | Data used by the command. |
Returns
Type | Description |
---|---|
bool |
Implements
CanExecute()
Initializes a new instance of the RelayCommand class.
Declaration
public bool CanExecute()
Returns
Type | Description |
---|---|
bool |