BaseCommand<TCanExecute> Class
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.
Abstract Base Class used by AsyncCommand and AsyncValueCommand
public abstract class BaseCommand<TCanExecute>
Type Parameters
- TCanExecute
- Inheritance
-
System.ObjectBaseCommand<TCanExecute>
- Derived
Properties
| AllowsMultipleExecutions |
Returns true if the Command allows simultaneous executions |
| ExecutionCount | |
| IsExecuting |
Returns true when the Command is currently executing. Returns false when the Command is not executing |
Methods
| CanExecute(TCanExecute) |
Determines whether the command can execute in its current state |
| ChangeCanExecute() |
Raises the |
| RaiseCanExecuteChanged() |
Raises the |
Events
| CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute |