NullCommand Class |
Namespace: TomsToolbox.Wpf
The NullCommand type exposes the following members.
Name | Description | |
---|---|---|
NullCommand | Initializes a new instance of the NullCommand class |
Name | Description | |
---|---|---|
CanExecute |
Defines the method that determines whether the command can execute in its current state.
| |
Execute |
Defines the method to be called when the command is invoked.
|
Name | Description | |
---|---|---|
CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
|
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |