# SpellingCorrectionUIProvider.StateManager.Mode Property

> Gets a value of type SpellingCorrectionMode that represents the current state of the SpellingCorrectionUIProvider.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 6.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.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 Windows Forms > Reference > TXTextControl.Proofing > SpellingCorrectionUIProvider.StateManager.Mode Property
- **354 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt

---

### Description

Gets a value of type [SpellingCorrectionMode](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt) that represents the current state of the [SpellingCorrectionUIProvider](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspell/spellingcorrectionuiprovider-property/llms-full.txt).

### Syntax

```csharp
public TXSpell.SpellingCorrectionMode Mode { get; }
```

```vbnet
Public ReadOnly Property Mode As TXSpell.SpellingCorrectionMode
```

### Examples

The following example includes the mode value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Mode: {stateManager.Mode}");
Console.WriteLine("State Manager is ready for use.");
```

```vbnet
Console.WriteLine($"Mode: {stateManager.Mode}")
Console.WriteLine("State Manager is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.StateManager.IsWordToCorrectEditing Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/iswordtocorrectediting-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.StateManager.SetCurrent Method](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/setcurrent-method/llms-full.txt)
