HideSelection 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 indicating whether the selected text in the TXTextControl.TextControl remains highlighted while the SpellCheckDialog is open. The default value is false.
Syntax
public bool HideSelection { get; set; }Public Property HideSelection As BooleanExamples
The following example uses SpellCheckDialog.HideSelection to configure hide selection as part of the spell check dialog workflow. The configured value is checked before the workflow continues.
spellCheckDialog.HideSelection = false;
if (spellCheckDialog.HideSelection)
{
Console.WriteLine("Spell Check Dialog: Hide Selection is enabled.");
}spellCheckDialog.HideSelection = False
If spellCheckDialog.HideSelection Then
Console.WriteLine("Spell Check Dialog: Hide Selection is enabled.")
End IfRemarks
This parameter is only executable, if the SpellCheckDialog is connected to an object of type TXTextControl.TextControl.