TX Text Control .NET for Windows Forms

UndoActionName Property

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

Description

Gets a string that represents the name of the action that will be performed when a call to the Undo method is made. The property's value is null if there is no action that can be undone.

Syntax

public string UndoActionName { get; }

Examples

The following example displays the name of the edit that would be reverted.

if (textControl.CanUndo)
{
    Console.WriteLine($"Next undo action: {textControl.UndoActionName}");
}

Limitations

Runtime only.

Read only.