SuggestionDictionaries 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 an array of suggestion dictionaries where the dictionary's language equals to the language of the current word to correct. This property is redetermined on every change of the CurrentWordToCorrect property and lead to an update of the SelectedSuggestionDictionaries property.
Syntax
public Dictionary[] SuggestionDictionaries { get; }Public ReadOnly Property SuggestionDictionaries As Dictionary()Examples
The following example iterates through the suggestion dictionaries collection and processes each dictionary.
foreach (TXTextControl.Proofing.Dictionary dictionary in suggestionDictionariesHandler.SuggestionDictionaries)
{
dictionary.Name = "CustomerName";
}For Each dictionary As TXTextControl.Proofing.Dictionary In suggestionDictionariesHandler.SuggestionDictionaries
dictionary.Name = "CustomerName"
NextLimitations
Read only.
Remarks
This property only returns an array of suggestion dictionaries if the SpellingCorrectionUIProvider's mode is set to SuggestionsCreated, NoSuggestionsCreated, WordToCorrectIsDuplicate or WordToCorrectEditing.