TX Spell .NET for WPF

Suggestions Property

Property
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as 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; }

Examples

The following example iterates through the suggestions collection and processes each suggestion.

foreach (TXTextControl.Proofing.Suggestion suggestion in tXSpell.Suggestions)
{
    Console.WriteLine(suggestion.Text);
}

Limitations

Read only.