TX Spell .NET for WPF

NextIncorrectWord Property

Property|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets an object of type IncorrectWord that is handled next by the SpellCheckDialog.

Syntax

public IncorrectWord NextIncorrectWord { get; }

Examples

The following example includes the next incorrect word value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Next Incorrect Word: {spellCheckDialogStateManager.NextIncorrectWord}");
Console.WriteLine("Spell Check Dialog State Manager is ready for use.");

Limitations

Read only.

Remarks

An exception is thrown, if the SpellCheckDialog is connected to an object of type TXTextControl.WPF.TextControl.