TX Spell .NET for WPF

Suggestion Class

Class
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WPF.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll
Implements
IComparable<Suggestion>

Description

The Suggestion class represents a suggestion for a specific text.

Syntax

public sealed class Suggestion : IComparable<Suggestion>

Examples

The following example includes the text value from a Suggestion object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Text: {suggestion.Text}");
Console.WriteLine("Suggestion is ready for use.");

Members

Properties

PropertyDescription
TextGets the suggestion text for a specific word.

Methods

MethodDescription
CompareToNot described in the reference. public int CompareTo(Suggestion obj);