Suggestions Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets a collection of suggestions that were created by the last call of the TXSpell.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 tXSpell.Suggestions)
{
Console.WriteLine(suggestion.Text);
}For Each suggestion As TXTextControl.Proofing.Suggestion In tXSpell.Suggestions
Console.WriteLine(suggestion.Text)
NextLimitations
Read only.