IgnoreWord 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 of type IgnoreWordSettings determining when a word should not be spell checked. The default value is InUpperCase | IsEmail | IsURL | WithNumbers.
Syntax
public TXSpell.IgnoreWordSettings IgnoreWord { get; set; }Public Property IgnoreWord As TXSpell.IgnoreWordSettingsExamples
The following example uses TXSpellChecker.IgnoreWord to configure ignore word as part of the txspell checker workflow. The configured value is checked before the workflow continues.
tXSpellChecker.IgnoreWord = TXTextControl.Proofing.TXSpell.IgnoreWordSettings.InUpperCase;
Console.WriteLine($"Ignore Word used by TXSpell Checker: {tXSpellChecker.IgnoreWord}");tXSpellChecker.IgnoreWord = TXTextControl.Proofing.TXSpell.IgnoreWordSettings.InUpperCase
Console.WriteLine($"Ignore Word used by TXSpell Checker: {tXSpellChecker.IgnoreWord}")Remarks
All values of the IgnoreWordSettings enumeration (apart from IgnoreWordSettings.Never) can be combined. For combinations with IgnoreWordSettings.Never an exception is thrown.