TX Text Control .NET for Windows Forms

CanUndo Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a value indicating whether the user can undo the previous operation in the TX Drawing Control.

Syntax

public bool CanUndo { get; }

Examples

The following example checks can undo before performing the related operation.

if (tXDrawingControl.CanUndo)
{
    tXDrawingControl.Undo();
}

Limitations

Read only.