# TextControl.IsSpellCheckingEnabled Property

> Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled the WPF.TextControl.SpellCheckText event is raised when the text of a document changes. The event handler can be used to check the text on misspelled words.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.IsSpellCheckingEnabled Property
- **424 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/isspellcheckingenabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/isspellcheckingenabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/isspellcheckingenabled-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled the [WPF.TextControl.SpellCheckText](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/spellchecktext-event/llms-full.txt) event is raised when the text of a document changes. The event handler can be used to check the text on misspelled words.

### Syntax

```csharp
public bool IsSpellCheckingEnabled { get; set; }
```

```vbnet
Public Property IsSpellCheckingEnabled As Boolean
```

### Examples

The following example uses `TextControl.IsSpellCheckingEnabled` to enable spell checking for document text. The configured value is checked before the workflow continues.

```csharp
textControl.IsSpellCheckingEnabled = true;
if (textControl.IsSpellCheckingEnabled)
{
    Console.WriteLine("Text Control: Is Spell Checking Enabled is enabled.");
}
```

```vbnet
textControl.IsSpellCheckingEnabled = True
If textControl.IsSpellCheckingEnabled Then
    Console.WriteLine("Text Control: Is Spell Checking Enabled is enabled.")
End If
```

---

## Nearby

- **Previous:** [TextControl.IsLanguageDetectionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/islanguagedetectionenabled-property/llms-full.txt)
- **Next:** [TextControl.IsTabStop Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/istabstop-property/llms-full.txt)
