SuggestionDictionary Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property SuggestionDictionary As DictionaryExamples
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.");
}suggestionDictionaryComboBox.SuggestionDictionary = New TXTextControl.Proofing.UserDictionary()
If suggestionDictionaryComboBox.SuggestionDictionary IsNot Nothing Then
Console.WriteLine("Suggestion Dictionary Combo Box: Suggestion Dictionary is available.")
End If