CompositeCommand Members
Include Protected Members
Include Inherited Members
The CompositeCommand type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompositeCommand() |
Initializes a new instance of CompositeCommand.
|
|
CompositeCommand(Boolean) |
Initializes a new instance of CompositeCommand.
|
Methods
Name | Description | |
---|---|---|
CanExecute |
Forwards CanExecute(Object) to the registered commands and returns truetrue (True in Visual Basic) if all of the commands return truetrue (True in Visual Basic).
|
|
Equals | (Inherited from Object.) | |
Execute |
Forwards Execute(Object) to the registered commands.
|
|
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.
(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.
|
|
RegisterCommand |
Adds a command to the collection and signs up for the CanExecuteChanged event of it.
|
|
ShouldExecute |
Evaluates if a command should execute.
|
|
ToString | (Inherited from Object.) | |
UnregisterCommand |
Removes a command from the collection and removes itself from the CanExecuteChanged event of it.
|
Properties
Name | Description | |
---|---|---|
RegisteredCommands |
Gets the list of all the registered commands.
|
Events
Name | Description | |
---|---|---|
CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
|