Search
CompositeCmd Members
Constructors Properties Methods
 


Represents a set of Command instances as a single operation. Undoing or redoing the composite action, respectively undoes or redoes all its constituent subactions at the same time.

The following tables list the members exposed by the CompositeCmd type.

 Public Constructors

  Name Description

CompositeCmd

Overloaded. Initializes a new instance of the CompositeCmd class.

 Public Properties

  Name Description

SubCommands

Gets a collection of all command objects contained within the composite one.

Title

Gets or sets the text associated with the action. (Inherited from Command.)

 Protected Properties

  Name Description

Context

Gets the command's context. (Inherited from Command.)

 Public Methods

  Name Description

AddSubCmd

Adds an action to a composite command. (Inherited from Command.)

 Protected Methods

  Name Description

Adopt

Merges adjacent commands in the history queue if they are related. (Inherited from Command.)

Execute

Overloaded. Carries out the command action.

IsContainerOf

Determines whether a command has been initiated by this command and should be treated as a derivative. (Inherited from Command.)

Redo

Redoes the command action.

Undo

Undoes the command.

 See Also