TX Spell .NET for Windows Forms

IsUndoEditButton Property

Property|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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.");
}