Class
TextBoxSpellChecker

Represents a spell checker that can be used to check the spelling of text within a textbox.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Documents.Proofing.dll

Syntax:

cs-api-definition
public class TextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker

Inheritance: objectControlSpellCheckerBaseTextBoxSpellChecker

Implements: IControlSpellChecker

Inherited Members ControlSpellCheckerBase.ResetFields()ControlSpellCheckerBase.IgnoredWordsControlSpellCheckerBase.SpellChecker

Constructors

TextBoxSpellChecker()

Declaration

cs-api-definition
public TextBoxSpellChecker()

Properties

CurrentControl

Gets or sets the current control that the TextBoxSpellChecker is working with.

Declaration

cs-api-definition
public override Control CurrentControl { get; set; }

Property Value

Control

Overrides ControlSpellCheckerBase.CurrentControl

SupportedControlType

Gets the type of control supported by the TextBoxSpellChecker.

Declaration

cs-api-definition
public override Type SupportedControlType { get; }

Property Value

Type

Overrides ControlSpellCheckerBase.SupportedControlType

Methods

ChangeCurrentWord(string)

Changes the current word to the specified value in the TextBox spell checker.

Declaration

cs-api-definition
public override void ChangeCurrentWord(string suggestion)

Parameters

suggestion

string

The new word to set as the current word in the spell checker.

Overrides ControlSpellCheckerBase.ChangeCurrentWord(string)

GetContentAsDocument()

Gets the content of the TextBox as a document.

Declaration

cs-api-definition
public override RadDocument GetContentAsDocument()

Returns

RadDocument

A document representation of the current content in the TextBox.

Overrides ControlSpellCheckerBase.GetContentAsDocument()

MoveToNextError()

Moves the cursor to the next spelling error in the text box.

Declaration

cs-api-definition
public override IWordInfo MoveToNextError()

Returns

IWordInfo

A boolean value indicating whether the cursor was successfully moved to the next error.

Overrides ControlSpellCheckerBase.MoveToNextError()

SetContentFromDocument(RadDocument)

Sets the content of the text box spell checker from the specified document.

Declaration

cs-api-definition
public override void SetContentFromDocument(RadDocument document)

Parameters

document

RadDocument

The document from which the content is to be set.

Overrides ControlSpellCheckerBase.SetContentFromDocument(RadDocument)