IgnoreCase Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. 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 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; }Public Property IgnoreCase As TXSpell.IgnoreCaseSettingsExamples
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}");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.