CloseOnFinished Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property CloseOnFinished As BooleanExamples
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.");
}spellCheckDialog.CloseOnFinished = True
If spellCheckDialog.CloseOnFinished Then
Console.WriteLine("Spell Check Dialog: Close On Finished is enabled.")
End If