SelectedSuggestionDictionaries Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
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.
Syntax
public Dictionary[] SelectedSuggestionDictionaries { get; set; }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.
suggestionDictionariesHandler.SelectedSuggestionDictionaries = Array.Empty<TXTextControl.Proofing.Dictionary>();
if (suggestionDictionariesHandler.SelectedSuggestionDictionaries != null)
{
Console.WriteLine("Suggestion Dictionaries Handler: Selected Suggestion Dictionaries is available.");
}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