TX Text Control .NET Server

CanRedo Property

Property|Introduced in 21.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

Informs whether an operation can be re-done.

Syntax

public bool CanRedo { get; }

Examples

The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.CanRedo.

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

if (textViewGenerator.CanRedo)
{
    textViewGenerator.Redo();
}

Limitations

Runtime only.

Read only.