Search
CompositeCmd Class
Remarks See Also
 






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

 Syntax

C#  Copy Code

public class CompositeCmd : Command

Visual Basic  Copy Code

Public Class CompositeCmd
    Inherits Command

 Remarks

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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Commands.Command
        MindFusion.Diagramming.Commands.CompositeCmd

 See Also