DiagramLite Programmer's Guide
Diagram.CanUndo Property
See Also
 





Gets or sets a value indicating whether there is a command in the undo history which can be undone.

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

 Syntax

C#  Copy Code

public bool CanUndo { get; }

Visual Basic  Copy Code

Public ReadOnly Property CanUndo As Boolean

 Property Value

true if the undo queue contains operations that can be undone; otherwise, false.

 Remarks

You can bind the IsEnabled property of menu items or buttons to this property.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
Undo Method
CanRedo Property