# SpellingCorrectionUIProvider.SuggestionDictionariesHandler.SelectedSuggestionDictionaries Property

> 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.

- **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.SuggestionDictionariesHandler.SelectedSuggestionDictionaries Property
- **615 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestiondictionarieshandler/selectedsuggestiondictionaries-property/llms-full.txt

---

### Description

Gets or sets an array of [dictionaries](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) which are used to create [suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestion/llms-full.txt) for the [SuggestionsHandler.Suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestionshandler/suggestions-property/llms-full.txt) property. Changes on this property lead to an update of the [StateManager.Mode](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-statemanager/mode-property/llms-full.txt) and [SuggestionsHandler.Suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellingcorrectionuiprovider-suggestionshandler/suggestions-property/llms-full.txt) properties.

### Syntax

```csharp
public Dictionary[] SelectedSuggestionDictionaries { get; set; }
```

```vbnet
Public Property SelectedSuggestionDictionaries As Dictionary()
```

### Examples

The following example uses `SuggestionDictionariesHandler.SelectedSuggestionDictionaries` to configure selected suggestion dictionaries as part of the suggestion dictionaries handler workflow. The configured value is checked before the workflow continues.

```csharp
suggestionDictionariesHandler.SelectedSuggestionDictionaries = Array.Empty<TXTextControl.Proofing.Dictionary>();
if (suggestionDictionariesHandler.SelectedSuggestionDictionaries != null)
{
    Console.WriteLine("Suggestion Dictionaries Handler: Selected Suggestion Dictionaries is available.");
}
```

```vbnet
suggestionDictionariesHandler.SelectedSuggestionDictionaries = Array.Empty(Of TXTextControl.Proofing.Dictionary)()
If suggestionDictionariesHandler.SelectedSuggestionDictionaries IsNot Nothing Then
    Console.WriteLine("Suggestion Dictionaries Handler: Selected Suggestion Dictionaries is available.")
End If
```

---

## Nearby

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