# SpellingCorrectionUIProvider.StateManager.IsWordToCorrectEditing Property

> Gets or sets a value whether the current state of the SpellingCorrectionUIProvider is set to WordToCorrectEditing. Setting this property is only enabled if the CurrentWordToCorrect property is not null.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 6.0
- **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 > SpellingCorrectionUIProvider.StateManager.IsWordToCorrectEditing Property
- **493 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/iswordtocorrectediting-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/iswordtocorrectediting-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/iswordtocorrectediting-property/llms-full.txt

---

### Description

Gets or sets a value whether the current [state](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt) of the [SpellingCorrectionUIProvider](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell/spellingcorrectionuiprovider-property/llms-full.txt) is set to [WordToCorrectEditing](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-spellingcorrectionmode/enumeration/llms-full.txt). Setting this property is only enabled if the [CurrentWordToCorrect](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/currentwordtocorrect-property/llms-full.txt) property is not null.

### Syntax

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

```vbnet
Public Property IsWordToCorrectEditing As Boolean
```

### Examples

The following example uses `StateManager.IsWordToCorrectEditing` to configure is word to correct editing as part of the state manager workflow. The configured value is checked before the workflow continues.

```csharp
stateManager.IsWordToCorrectEditing = true;
if (stateManager.IsWordToCorrectEditing)
{
    Console.WriteLine("State Manager: Is Word To Correct Editing is enabled.");
}
```

```vbnet
stateManager.IsWordToCorrectEditing = True
If stateManager.IsWordToCorrectEditing Then
    Console.WriteLine("State Manager: Is Word To Correct Editing is enabled.")
End If
```

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.StateManager.IsOptionsSettings Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/isoptionssettings-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.StateManager.Mode Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt)
