Represents an action that changes the diagram and whose effects can be undone.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public abstract class Command |
Visual Basic
![]() |
---|
Public MustInherit Class Command |
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.
System.Object
MindFusion.Diagramming.Command
MindFusion.Diagramming.AddItemCommand
MindFusion.Diagramming.ChangeItemCommand
MindFusion.Diagramming.CompositeCommand
MindFusion.Diagramming.RemoveItemCommand
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |