TX Spell .NET for Windows Forms

CloseOnFinished 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 whether the SpellCheckDialog is closed on completing the spell checking. The default value is true.

Syntax

public bool CloseOnFinished { get; set; }

Examples

The following example uses SpellCheckDialog.CloseOnFinished to configure close on finished as part of the spell check dialog workflow. The configured value is checked before the workflow continues.

spellCheckDialog.CloseOnFinished = true;
if (spellCheckDialog.CloseOnFinished)
{
    Console.WriteLine("Spell Check Dialog: Close On Finished is enabled.");
}