TX Spell .NET for WPF

IgnoreWord Property

Property
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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}");

Remarks

All values of the IgnoreWordSettings enumeration (apart from IgnoreWordSettings.Never) can be combined. For combinations with IgnoreWordSettings.Never an exception is thrown.