TX Text Control .NET for WPF

CanUndo Property

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

Description

Gets a value indicating whether the user can undo the previous TXDrawingCore operation.

Syntax

public bool CanUndo { get; }

Examples

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

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

Limitations

Read only.