# SpellingCorrectionUIProvider.SuggestionDictionariesHandler Class

> The SuggestionDictionariesHandler class provides properties which are necessary to perceive and modify suggestion dictionaries in a spelling correction user interface. These dictionaries are used to create suggestions which are related to the CurrentWordToCorrect.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **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
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellingCorrectionUIProvider.SuggestionDictionariesHandler Class
- **939 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/llms-full.txt

---

### Description

The SuggestionDictionariesHandler class provides properties which are necessary to [perceive](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/suggestiondictionaries-property/llms-full.txt) and [modify](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms-full.txt) [suggestion](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestion/llms-full.txt) [dictionaries](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) in a [spelling correction user interface](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/llms-full.txt). These dictionaries are used to create [suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestionshandler/suggestions-property/llms-full.txt) which are related to the [CurrentWordToCorrect](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/currentwordtocorrect-property/llms-full.txt).

### Syntax

```csharp
public sealed class SpellingCorrectionUIProvider.SuggestionDictionariesHandler : INotifyPropertyChanged
```

```vbnet
Public NotInheritable Class SpellingCorrectionUIProvider.SuggestionDictionariesHandler
    Implements INotifyPropertyChanged
```

### Examples

The following example includes the is suggestion dictionaries enabled value from a Suggestion Dictionaries Handler object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Is Suggestion Dictionaries Enabled: {suggestionDictionariesHandler.IsSuggestionDictionariesEnabled}");
Console.WriteLine("Suggestion Dictionaries Handler is ready for use.");
```

```vbnet
Console.WriteLine($"Is Suggestion Dictionaries Enabled: {suggestionDictionariesHandler.IsSuggestionDictionariesEnabled}")
Console.WriteLine("Suggestion Dictionaries Handler is ready for use.")
```

---

## In This Section

- [SpellingCorrectionUIProvider.SuggestionDictionariesHandler.IsSuggestionDictionariesEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/issuggestiondictionariesenabled-property/llms-full.txt): Gets a value whether the SuggestionDictionaries property is enabled to provide suggestion dictionaries or not.
- [SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SelectedSuggestionDictionaries Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms-full.txt): Gets or sets an array of dictionaries which are used to create suggestions for the SuggestionsHandler.Suggestions property. Changes on this property lead to an update of the StateManager.Mode and SuggestionsHandler.Suggestions properties.
- [SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SuggestionDictionaries Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/suggestiondictionaries-property/llms-full.txt): Gets an array of suggestion dictionaries where the dictionary's language equals to the language of the current word to correct. This property is redetermined on every change of the CurrentWordToCorrect property and lead to an update of the SelectedSuggestionDictionaries property.

---

## Nearby

- **Previous:** [SpellingCorrectionUIProvider.StateManaging Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider/statemanaging-property/llms-full.txt)
- **Next:** [SpellingCorrectionUIProvider.SuggestionDictionariesHandler.IsSuggestionDictionariesEnabled Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/issuggestiondictionariesenabled-property/llms-full.txt)
