TX Text Control .NET Server

UndoActionName Property

Property|Introduced in 23.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

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 applies bold formatting through the text view generator's selection by using TextViewGenerator.UndoActionName.

Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;

Console.WriteLine($"Undo Action Name: {textViewGenerator.UndoActionName}");
Console.WriteLine("Text View Generator is ready for use.");

Limitations

Runtime only.

Read only.