Class TextBoxSpellChecker
Represents a spell checker that can be used to check the spelling of text within a textbox.
Inherited Members
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.Proofing.dll
Syntax
public class TextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker
Constructors
TextBoxSpellChecker()
Declaration
public TextBoxSpellChecker()
Properties
CurrentControl
Gets or sets the current control that the TextBoxSpellChecker is working with.
Declaration
public override Control CurrentControl { get; set; }
Property Value
System.Windows.Controls.Control
|
Overrides
SupportedControlType
Gets the type of control supported by the TextBoxSpellChecker.
Declaration
public override Type SupportedControlType { get; }
Property Value
System.Type
|
Overrides
Methods
ChangeCurrentWord(String)
Changes the current word to the specified value in the TextBox spell checker.
Declaration
public override void ChangeCurrentWord(string suggestion)
Parameters
System.String
suggestion
The new word to set as the current word in the spell checker. |
Overrides
GetContentAsDocument()
Gets the content of the TextBox as a document.
Declaration
public override RadDocument GetContentAsDocument()
Returns
RadDocument
A document representation of the current content in the TextBox. |
Overrides
MoveToNextError()
Moves the cursor to the next spelling error in the text box.
Declaration
public override IWordInfo MoveToNextError()
Returns
IWordInfo
A boolean value indicating whether the cursor was successfully moved to the next error. |
Overrides
SetContentFromDocument(RadDocument)
Sets the content of the text box spell checker from the specified document.
Declaration
public override void SetContentFromDocument(RadDocument document)
Parameters
RadDocument
document
The document from which the content is to be set. |