TX Spell .NET for Windows Forms

IgnoreWord Property

Property
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as 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; }

Examples

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

Remarks

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