DiagramLite Programmer's Guide
CompositeCommand 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 CompositeCommand type.

 Public Constructors

  Name Description

CompositeCommand

Initializes a new instance of the CompositeCommand class.

 Public Properties

  Name Description

Commands

Gets a list containing the child Command objects.

 Inherited Public Properties

  Name Description

Diagram

Gets the Diagram modified by this Command object. (Inherited from Command.)

 Public Methods

  Name Description

Execute

Command.Execute override.

Redo

Command.Redo override.

Undo

Command.Undo override.

 Inherited Public Methods

  Name Description

Execute

Carries out an action that changes the diagram in some way. (Inherited from Command.)

Redo

Repeats an action that has been undone. (Inherited from Command.)

Undo

Undoes an action, restoring the diagram to the state it was in before carrying out the action. (Inherited from Command.)

 See Also

CompositeCommand Class
MindFusion.Diagramming Namespace