# SuggestionDictionaryComboBox.SuggestionDictionary Property

> Gets or sets the dictionary that is currently selected as a suggestion dictionary. If the IsAllItemSelected property is set to true, the value is null.

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

---

### Description

Gets or sets the [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/dictionary/llms-full.txt) that is currently selected as a suggestion dictionary. If the [IsAllItemSelected](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/suggestiondictionarycombobox/isallitemselected-property/llms-full.txt) property is set to true, the value is null.

### Syntax

```csharp
public Dictionary SuggestionDictionary { get; set; }
```

```vbnet
Public Property SuggestionDictionary As Dictionary
```

### Examples

The following example uses `SuggestionDictionaryComboBox.SuggestionDictionary` to configure suggestion dictionary as part of the suggestion dictionary combo box workflow. The configured value is checked before the workflow continues.

```csharp
suggestionDictionaryComboBox.SuggestionDictionary = new TXTextControl.Proofing.UserDictionary();
if (suggestionDictionaryComboBox.SuggestionDictionary != null)
{
    Console.WriteLine("Suggestion Dictionary Combo Box: Suggestion Dictionary is available.");
}
```

```vbnet
suggestionDictionaryComboBox.SuggestionDictionary = New TXTextControl.Proofing.UserDictionary()
If suggestionDictionaryComboBox.SuggestionDictionary IsNot Nothing Then
    Console.WriteLine("Suggestion Dictionary Combo Box: Suggestion Dictionary is available.")
End If
```

---

## Nearby

- **Previous:** [SuggestionDictionaryComboBox.IsAllItemSelected Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/suggestiondictionarycombobox/isallitemselected-property/llms-full.txt)
- **Next:** [SuggestionList Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/suggestionlist/llms-full.txt)
