TX Text Control .NET for WPF

EndUndoAction Method

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

Description

Ends a user-defined undo operation. All editing and fomatting changes made between BeginUndoAction and EndUndoAction belong to the undo operation. These changes are undone or redone in a single step.

Syntax

public void EndUndoAction();

Examples

The following example finishes the current compound undo action. The created object is then available to the surrounding document workflow.

textControl.EndUndoAction();
Console.WriteLine("Text Control is ready for use.");