TX Text Control .NET for WPF

UndoActionName Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.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 includes the undo action name value in application diagnostics. The field is retained with the operation's other diagnostic context.

var fieldValue = TXTextControl.WPF.TextControl.NameProperty;
Console.WriteLine($"Name Property for Text Control: {fieldValue}");

Limitations

Runtime only.

Read only.