Suggestions Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of suggestions that were created by the last call of the TXSpellChecker.CreateSuggestions method. The property's value is an object of type SuggestionCollection.
Syntax
public SuggestionCollection Suggestions { get; }Public ReadOnly Property Suggestions As SuggestionCollectionExamples
The following example iterates through the suggestions collection and processes each suggestion.
foreach (TXTextControl.Proofing.Suggestion suggestion in tXSpellChecker.Suggestions)
{
Console.WriteLine(suggestion.Text);
}For Each suggestion As TXTextControl.Proofing.Suggestion In tXSpellChecker.Suggestions
Console.WriteLine(suggestion.Text)
NextLimitations
Read only.