# ServerTextControl.IsSpellCheckingEnabled Property

> Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled either the text is automatically checked with a connected spell checking component or the ServerTextControl.SpellCheckText event is raised when the text of a document changes. The event handler can then be used to check the text on misspelled words. A spell checking component can be connected with the SpellChecker property.

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

---

### Description

Gets or sets a value indicating whether spell checking is active or not. If spell checking is enabled either the text is automatically checked with a connected spell checking component or the [ServerTextControl.SpellCheckText](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/spellchecktext-event/llms-full.txt) event is raised when the text of a document changes. The event handler can then be used to check the text on misspelled words. A spell checking component can be connected with the [SpellChecker](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/spellchecker-property/llms-full.txt) property.

### Syntax

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

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

### Examples

The following example uses `ServerTextControl.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("Server Text Control: Is Spell Checking Enabled is enabled.");
}
```

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

---

## Nearby

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