IsUndoEditButton Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value specifying the DialogButton text. The behavior changes to an Undo Edit button, if the preview text of the SpellCheckDialog is manually modified. When no button in the dialog is set to true, the preview text is not editable.
Syntax
public bool IsUndoEditButton { get; set; }Public Property IsUndoEditButton As BooleanExamples
The following example uses DialogButton.IsUndoEditButton to configure is undo edit button as part of the dialog button workflow. The configured value is checked before the workflow continues.
dialogButton.IsUndoEditButton = true;
if (dialogButton.IsUndoEditButton)
{
Console.WriteLine("Dialog Button: Is Undo Edit Button is enabled.");
}dialogButton.IsUndoEditButton = True
If dialogButton.IsUndoEditButton Then
Console.WriteLine("Dialog Button: Is Undo Edit Button is enabled.")
End If