# TXSpell.IgnoreCase Property

> 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.

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

---

### Description

Gets or sets a value of type [IgnoreCaseSettings](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-ignorecasesettings/enumeration/llms-full.txt) determining whether the case of a word is ignored or not during [spell checking](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/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 `TXSpell.IgnoreCase` to configure ignore case as part of the txspell workflow. The configured value is checked before the workflow continues.

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

```vbnet
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.

---

## Nearby

- **Previous:** [TXSpell.HyphenationListsDirectoryPath Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/hyphenationlistsdirectorypath-property/llms-full.txt)
- **Next:** [TXSpell.IgnoreCaseSettings Enumeration](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-ignorecasesettings/enumeration/llms-full.txt)
