ASP.NET Pack Programmer's Guide
Command Class
Remarks See Also
 





Represent an action that can be carried out on a diagram, and later undone or redone.

Namespace: MindFusion.Diagramming.Commands
Package: 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 for WebForms in response to users' input or method calls are implemented in Command subclasses. For a list of Command-derived classes see Actions and Commands.

The Execute, Undo or Redo methods are defined as abstract and must be implemented by derived classes. You must not call these methods directly - use the Undo or Redo methods of the UndoManager instead.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Commands.Command
        MindFusion.Diagramming.Commands.AddGroupCmd
        MindFusion.Diagramming.Commands.AddItemCmd
        MindFusion.Diagramming.Commands.AddToContainerCmd
        MindFusion.Diagramming.Commands.ChangeItemCmd
        MindFusion.Diagramming.Commands.CompositeCmd
        MindFusion.Diagramming.Commands.EditTextCmd
        MindFusion.Diagramming.Commands.ExpandHeaderRowCmd
        MindFusion.Diagramming.Commands.ExpandItemCmd
        MindFusion.Diagramming.Commands.ExpandTreeViewItemCmd
        MindFusion.Diagramming.Commands.FoldContainerCmd
        MindFusion.Diagramming.Commands.GroupAttachCmd
        MindFusion.Diagramming.Commands.GroupDetachCmd
        MindFusion.Diagramming.Commands.ModifyItemCmd
        MindFusion.Diagramming.Commands.RedimTableCmd
        MindFusion.Diagramming.Commands.RemoveFromContainerCmd
        MindFusion.Diagramming.Commands.RemoveGroupCmd
        MindFusion.Diagramming.Commands.RemoveItemCmd
        MindFusion.Diagramming.Commands.ResizeTableColumnCmd
        MindFusion.Diagramming.Commands.ResizeTableRowCmd
        MindFusion.Diagramming.Commands.ScrollTableCmd
        MindFusion.Diagramming.Commands.ScrollTreeViewCmd

 See Also

Command Members
MindFusion.Diagramming.Commands Namespace