UndoActionName Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public ReadOnly Property UndoActionName As StringExamples
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.");Dim formattedSelection As Selection = 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.