# SpellingCorrectionUIProvider Class

> The SpellingCorrectionUIProvider class provides methods and properties for constructing a spelling correction user interface.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **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 Class
- **771 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt

---

### Description

The SpellingCorrectionUIProvider class provides methods and properties for constructing a spelling correction user interface.

### Syntax

```csharp
public sealed class SpellingCorrectionUIProvider
```

```vbnet
Public NotInheritable Class SpellingCorrectionUIProvider
```

### Examples

The following example includes the preview handling value from a Spelling Correction UIProvider object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}");
Console.WriteLine("Spelling Correction UIProvider is ready for use.");
```

```vbnet
Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}")
Console.WriteLine("Spelling Correction UIProvider is ready for use.")
```

---

## In This Section

- [SpellingCorrectionUIProvider.CorrectionHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/correctionhandling-property/llms-full.txt): Gets an object of type CorrectionHandler that provides methods and properties which are necessary to construct the correction handling part of a spelling correction user interface.
- [SpellingCorrectionUIProvider.PreviewHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/previewhandling-property/llms-full.txt): Gets an object of type PreviewHandler that provides properties which are necessary to construct an editable preview for a spelling correction user interface.
- [SpellingCorrectionUIProvider.StateManaging Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/statemanaging-property/llms-full.txt): Gets an object of type StateManager that provides methods and properties which are necessary to initialize, modify and perceive the current state of a spelling correction procedure.
- [SpellingCorrectionUIProvider.SuggestionDictionariesHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/suggestiondictionarieshandling-property/llms-full.txt): Gets an object of type SuggestionDictionariesHandler that provides properties which are necessary to modify and perceive suggestion dictionaries in a spelling correction user interface. These dictionaries are used to create suggestions which are related to the CurrentWordToCorrect.
- [SpellingCorrectionUIProvider.SuggestionsHandling Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/suggestionshandling-property/llms-full.txt): Gets an object of type SuggestionsHandler that provides properties which are necessary to modify and perceive a list of suggestions for correcting the current word to correct in a spelling correction user interface.

---

## Nearby

- **Previous:** [SpelledWord.Text Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spelledword/text-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.CorrectionHandler Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-correctionhandler/llms-full.txt)
