NextMisspelledWord 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 TXTextControl.MisspelledWord that is handled next by the SpellCheckDialog.
Syntax
public object NextMisspelledWord { get; }Public ReadOnly Property NextMisspelledWord As ObjectExamples
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.");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.