# TXSpellChecker.IgnoreCase Property

> Gets or sets a value of type IgnoreCaseSettings determining if and how the case of a word is ignored while spell checking. The default value is AllUpper | WordBeginUpper.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > TXSpellChecker.IgnoreCase Property
- **476 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/ignorecase-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/ignorecase-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/ignorecase-property/llms-full.txt

---

### Description

Gets or sets a value of type [IgnoreCaseSettings](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-ignorecasesettings/enumeration/llms-full.txt) determining if and how the case of a word is ignored while [spell checking](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/check-method/llms-full.txt). The default value is `AllUpper | WordBeginUpper`.

### Syntax

```csharp
public TXSpell.IgnoreCaseSettings IgnoreCase { get; set; }
```

```vbnet
Public Property IgnoreCase As TXSpell.IgnoreCaseSettings
```

### Examples

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

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

```vbnet
tXSpellChecker.IgnoreCase = TXTextControl.Proofing.TXSpell.IgnoreCaseSettings.AllLower
Console.WriteLine($"Ignore Case used by TXSpell Checker: {tXSpellChecker.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.

---

## Nearby

- **Previous:** [TXSpellChecker.HyphenationListsDirectoryPath Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/hyphenationlistsdirectorypath-property/llms-full.txt)
- **Next:** [TXSpellChecker.IgnoreWord Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/ignoreword-property/llms-full.txt)
