Search
Command Class
Remarks See Also
 






Represents an action that changes the diagram and whose effects can be undone.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public abstract class Command

Visual Basic  Copy Code

Public MustInherit Class Command

 Remarks

Command is an abstract class which defines the interface expected by the undo manager for undoing or redoing actions. All actions that can be carried out by MindFusion.Diagramming in response to users' input or method calls are implemented in Command subclasses.

The Execute, Undo or Redo methods are defined as abstract and must be implemented by derived classes.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Command
        MindFusion.Diagramming.AddItemCommand
        MindFusion.Diagramming.ChangeItemCommand
        MindFusion.Diagramming.CompositeCommand
        MindFusion.Diagramming.RemoveItemCommand

 See Also