NextIncorrectWord Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets an object of type IncorrectWord that is handled next by the SpellCheckDialog.
Syntax
public IncorrectWord NextIncorrectWord { get; }Public ReadOnly Property NextIncorrectWord As IncorrectWordExamples
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.");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.