TX Spell .NET for Windows Forms

SuggestionDictionary Property

Property|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

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.

Syntax

public Dictionary SuggestionDictionary { get; set; }

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.

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