CompositeCommand Members

The CompositeCommand type exposes the following members.

Ff653982.pubmethod(en-us,PandP.10).gif CompositeCommand Overloaded.

Ff653982.pubmethod(en-us,PandP.10).gif 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).
Ff653982.pubmethod(en-us,PandP.10).gif Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Ff653982.pubmethod(en-us,PandP.10).gif Execute
Forwards Execute(Object) to the registered commands.
Ff653982.protmethod(en-us,PandP.10).gif 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.)
Ff653982.pubmethod(en-us,PandP.10).gif 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.)
Ff653982.pubmethod(en-us,PandP.10).gif GetType
Gets the Type of the current instance.
(Inherited from Object.)
Ff653982.protmethod(en-us,PandP.10).gif MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Ff653982.protmethod(en-us,PandP.10).gif OnCanExecuteChanged
Raises CanExecuteChanged on the UI thread so every command invoker can requery CanExecute(Object) to check if the CompositeCommand can execute.
Ff653982.pubmethod(en-us,PandP.10).gif RegisterCommand
Adds a command to the collection and signs up for the CanExecuteChanged event of it.
Ff653982.protmethod(en-us,PandP.10).gif ShouldExecute
Evaluates if a command should execute.
Ff653982.pubmethod(en-us,PandP.10).gif ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Ff653982.pubmethod(en-us,PandP.10).gif UnregisterCommand
Removes a command from the collection and removes itself from the CanExecuteChanged event of it.

Ff653982.pubproperty(en-us,PandP.10).gif RegisteredCommands
Gets the list of all the registered commands.

Ff653982.pubevent(en-us,PandP.10).gif CanExecuteChanged
Occurs when any of the registered commands raise .