CanRedo 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
Informs whether an operation can be re-done.
Syntax
public bool CanRedo { get; }Public ReadOnly Property CanRedo As BooleanExamples
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();
}Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
If textViewGenerator.CanRedo Then
textViewGenerator.Redo()
End IfLimitations
Runtime only.
Read only.