The CanUndo Property supports WPF/Silverlight.
The CanUndo Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets a value indicating whether the user can undo the previous operation performed in this AnnAutomation. Supported in Silverlight, Windows Phone 7Visual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property CanUndo As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnAutomation Dim value As Boolean value = instance.CanUndo |
C# | |
---|---|
public virtual bool CanUndo {get;} |
Property Value
true if the user can undo the previous operation performed in this AnnAutomation; otherwise, false.For C#/VB examples, refer to UndoRedoChanged.
Use the UndoCapacity property to get or set the number of user actions that can be reversed using the Undo method, or re-applied using the Redo method. The default for the UndoCapacity property is 10 actions.
For more information, refer to Undoing WPF Automation Operations.
Please note that the Undo operation does not work for the Realize operation that has been performed with the RealizeRedaction method to realize the entire image.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)