Class
RadRichTextBoxSpellChecker

Provides spell checking functionality for the RadRichTextBox control in the Telerik framework.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Documents.Proofing.dll

Syntax:

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

Inheritance: objectControlSpellCheckerBaseRadRichTextBoxSpellChecker

Implements: IControlSpellChecker

Inherited Members ControlSpellCheckerBase.IgnoredWordsControlSpellCheckerBase.SpellChecker

Constructors

RadRichTextBoxSpellChecker()

Declaration

cs-api-definition
public RadRichTextBoxSpellChecker()

Properties

CurrentControl

Gets the currently active control within the RadRichTextBoxSpellChecker.

Declaration

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

Property Value

Control

The currently active control of type Control.

Overrides ControlSpellCheckerBase.CurrentControl

SupportedControlType

Gets the supported control type for the RadRichTextBoxSpellChecker.

Declaration

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

Property Value

Type

The supported control type, which indicates the specific control that the spell checker is compatible with.

Overrides ControlSpellCheckerBase.SupportedControlType

Methods

ChangeCurrentWord(string)

Changes the current word to the specified string in the RadRichTextBoxSpellChecker.

Declaration

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

Parameters

suggestion

string

Overrides ControlSpellCheckerBase.ChangeCurrentWord(string)

GetContentAsDocument()

Retrieves the content of the RadRichTextBox as a document object.

Declaration

cs-api-definition
public override RadDocument GetContentAsDocument()

Returns

RadDocument

A document representation of the content in the RadRichTextBox.

Overrides ControlSpellCheckerBase.GetContentAsDocument()

MoveToNextError()

Moves the cursor to the next spelling or grammar error in the document.

Declaration

cs-api-definition
public override IWordInfo MoveToNextError()

Returns

IWordInfo

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

Overrides ControlSpellCheckerBase.MoveToNextError()

ResetFields()

Resets the fields in the RadRichTextBoxSpellChecker, clearing any spell-checking related data.

Declaration

cs-api-definition
public override void ResetFields()

Overrides ControlSpellCheckerBase.ResetFields()

SetContentFromDocument(RadDocument)

Sets the content of the RadRichTextBoxSpellChecker from the specified RadDocument.

Declaration

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

Parameters

document

RadDocument

The RadDocument from which the content will be extracted.

Overrides ControlSpellCheckerBase.SetContentFromDocument(RadDocument)