TX Text Control .NET for WPF

Undo Method

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

Description

Undoes the last edit operation in the TX Drawing Control.

Syntax

public void Undo();

Examples

The following example reverts the last editing action. The created object is then available to the surrounding document workflow.

tXDrawingControl.Undo();
Console.WriteLine("TXDrawing Control is ready for use.");