TXTextControl.Proofing.SpellingCorrectionUIProvider.StateManager.CurrentWordToCorrect Property

Gets an object of type TXTextControl.MisspelledWord or IncorrectWord and represents that current word to correct which is currently handled by the SpellingCorrectionUIProvider. It is redetermined on every invocation of SetCurrent, IsOptionsSetting or the TXSpell.SpellingCorrectionUIProvider.CorrectionHandler methods (AddToDictionary(), Change(string correctedWord), ChangeAll(string correctedWord), Delete(), Ignore(), IgnoreAll()). Changes on this property lead to an update of the Mode property. If the source of the word to correct is an object of type TXTextControl.TextControl, the CurrentIFormattedText property is updated as well.

Syntax

[C#]
public object CurrentWordToCorrect { get; }
[Visual Basic]
Public ReadOnly Property CurrentWordToCorrect() As Object

Limitations

Read only.