# SpellCheckDialogStateManager Class

> Provides methods and properties for the StateManager property that is provided by the SpellCheckDialogOpeningEventArgs, DialogButtonEventArgs and the SpellCheckDialogClosingEventArgs in TX Spell .NET for WPF.

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

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/#description)
- [Syntax](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/#syntax)
- [Examples](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/#examples)
- [Members](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/#members)

---

## In This Section

- [SpellCheckDialogStateManager.Close Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/close-method/llms.txt): Closes the spell check dialog.
- [SpellCheckDialogStateManager.NextIFormattedText Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextiformattedtext-property/llms.txt): Gets the next object of type TXTextControl.IFormattedText that contains the next misspelled word (TXTextControl.MisspelledWord).
- [SpellCheckDialogStateManager.NextIncorrectWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextincorrectword-property/llms.txt): Gets an object of type IncorrectWord that is handled next by the SpellCheckDialog.
- [SpellCheckDialogStateManager.NextMisspelledWord Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/nextmisspelledword-property/llms.txt): Gets an object of type TXTextControl.MisspelledWord that is handled next by the SpellCheckDialog.
- [SpellCheckDialogStateManager.SetNext Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/setnext-method/llms.txt): Provides a method to set a specific incorrect or misspelled (TXTextControl.MisspelledWord) word, that should be handled next by the SpellCheckDialog. Furthermore, a complete new text or an object of type TXTextControl.WPF.TextControl can be set to the SpellCheckDialog. A new incorrect word or misspelled word (TXTextControl.IFormattedText.MisspelledWords) collection is connected and handled.

---

## Nearby

- **Previous:** [SpellCheckDialogOpeningEventArgs.StateManager Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogopeningeventargs/statemanager-property/llms.txt)
- **Next:** [SpellCheckDialogStateManager.Close Method](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialogstatemanager/close-method/llms.txt)
