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