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.Wpf.Commands
Assembly: MindFusion.Diagramming.Wpf

 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.Wpf.Commands.Command
        MindFusion.Diagramming.Wpf.Commands.CompositeCmd

 See Also