Search
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

 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

You might need to disable undo:

  • before executing actions you don't want end-users to undo, for example creating special start/end nodes;
  • before creating programmatically a lot of new diagram items - say hundreds or thousands. MindFusion.Diagramming creates an undo record for each item creation.

 See Also