DelegateCommand<T> Members
Include Protected Members
Include Inherited Members
The DelegateCommand<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DelegateCommand<T> | Overloaded. |
Methods
Name | Description | |
---|---|---|
CanExecute |
Defines the method that determines whether the command can execute in its current state.
|
|
Equals | (Inherited from Object.) | |
Execute |
Defines the method to be called when the command is invoked.
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
OnCanExecuteChanged |
Raises CanExecuteChanged on the UI thread so every command invoker can requery CanExecute(Object) to check if the CompositeCommand can execute.
|
|
OnIsActiveChanged |
This raises the IsActiveChanged event.
|
|
RaiseCanExecuteChanged |
Raises CanExecuteChanged on the UI thread so every command invoker can requery to check if the command can execute.
RemarksNote that this will trigger the execution of CanExecute(T) once for each invoker. |
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
IsActive |
Gets or sets a value indicating whether the object is active.
|
Events
Name | Description | |
---|---|---|
CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
|
|
IsActiveChanged |
Fired if the IsActive property changes.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICommand.CanExecute |
Defines the method that determines whether the command can execute in its current state.
|
|
ICommand.Execute |
Defines the method to be called when the command is invoked.
|
See Also
Microsoft.Practices.Composite.Presentation.Commands Namespace