TX Spell .NET for WPF

NextMisspelledWord 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 TXTextControl.MisspelledWord that is handled next by the SpellCheckDialog.

Syntax

public object NextMisspelledWord { get; }

Examples

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

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

Limitations

Read only.

Remarks

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