TXTextControl.Proofing.SpellingCorrectionUIProvider.StateManager Class

The StateManager class provides methods and properties which are necessary to initialize, modify and perceive the current state of a spelling correction procedure..

Introduced: 6.0.

Syntax

[C#]
public sealed class StateManager
[Visual Basic]
Public NotInheritable Class StateManager

Properties

Property Description
CurrentIFormattedText Gets that object of type TXTextControl.IFormattedText that includes the misspelled word which is currently handled by the SpellingCorrectionUIProvider.
CurrentText Gets that text which is currently handled by the SpellingCorrectionUIProvider.
CurrentTextControl Gets an object of type TXTextControl.TextControl and represents that TextControl which is currently handled by the SpellingCorrectionUIProvider.
CurrentWordToCorrect Gets an object of type TXTextControl.MisspelledWord or IncorrectWord and represents that current word to correct which is currently handled by the SpellingCorrectionUIProvider.
IsOptionsSettings Gets or sets a value whether the current state of the SpellingCorrectionUIProvider is set to OptionsSettings.
IsWordToCorrectEditing Gets or sets a value whether the current state of the SpellingCorrectionUIProvider is set to WordToCorrectEditing.
Mode Gets a value of type SpellingCorrectionMode that represents the current state of the SpellingCorrectionUIProvider.

Methods

Method Description
Cancel Resets the SpellingCorrectionUIProvider to the InitialState.
SetCurrent Overloaded. Sets an object of type TXTextControl.TextControl or text for user interface based spelling correction.