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.
Namespace: MindFusion.Diagramming.Commands
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class CompositeCmd : Command |
Visual Basic Copy Code |
---|
Public Class CompositeCmd |
To add a subaction to the composite call the AddSubCmd method. The Execute method executes all subactions and adds the composite to undo manager's history.
System.Object
MindFusion.Diagramming.Commands.Command
MindFusion.Diagramming.Commands.CompositeCmd