CanUndo Property
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a value indicating whether the user can undo the previous operation in the TX Drawing Control.
Syntax
public bool CanUndo { get; }Public ReadOnly Property CanUndo As BooleanExamples
The following example checks can undo before performing the related operation.
if (tXDrawingControl.CanUndo)
{
tXDrawingControl.Undo();
}If tXDrawingControl.CanUndo Then
tXDrawingControl.Undo()
End IfLimitations
Read only.