IgnoreWord Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.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 TXSpell.IgnoreWord to configure ignore word as part of the txspell workflow. The configured value is checked before the workflow continues.
tXSpell.IgnoreWord = TXTextControl.Proofing.TXSpell.IgnoreWordSettings.InUpperCase;
Console.WriteLine($"Ignore Word used by TXSpell: {tXSpell.IgnoreWord}");tXSpell.IgnoreWord = TXTextControl.Proofing.TXSpell.IgnoreWordSettings.InUpperCase
Console.WriteLine($"Ignore Word used by TXSpell: {tXSpell.IgnoreWord}")Remarks
All values of the IgnoreWordSettings enumeration (apart from IgnoreWordSettings.Never) can be combined. For combinations with IgnoreWordSettings.Never an exception is thrown.