DiagramLite Programmer's Guide
Diagram.UndoEnabled Property
See Also
 





Gets or sets a value indicating whether saving action records for later undo is enabled.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool UndoEnabled { get; set; }

Visual Basic  Copy Code

Public Property UndoEnabled As Boolean

 Property Value

true to save actions for later undo; otherwise false. The default is false.

 Remarks

To undo the last recorded action, call the Undo method. It can be redone again by calling Redo. Custom operations can be integrated into the DiagramLite undo/redo system by deriving from the Command class and running the operations by means of the ExecuteCommand method.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
StartCompositeOperation Method