TX Spell .NET for Windows Forms

IgnoreCase 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 IgnoreCaseSettings determining whether the case of a word is ignored or not during spell checking. The default value is AllUpper | WordBeginUpper.

Syntax

public TXSpell.IgnoreCaseSettings IgnoreCase { get; set; }

Examples

The following example uses TXSpell.IgnoreCase to configure ignore case as part of the txspell workflow. The configured value is checked before the workflow continues.

tXSpell.IgnoreCase = TXTextControl.Proofing.TXSpell.IgnoreCaseSettings.AllLower;
Console.WriteLine($"Ignore Case used by TXSpell: {tXSpell.IgnoreCase}");

Remarks

The IgnoreCaseSettings enumeration values Always, Never, WordBegin and WordBeginUpper must not be combined among one another, but can be combined with AllLower and/or AllUpper.

For all other combinations an exception is thrown.