New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadRichTextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker

Inheritance: objectControlSpellCheckerBaseRadRichTextBoxSpellChecker

Implements: IControlSpellChecker

Inherited Members ControlSpellCheckerBase.IgnoredWordsControlSpellCheckerBase.SpellChecker

Constructors

C#
public RadRichTextBoxSpellChecker()

Properties

Gets the currently active control within the RadRichTextBoxSpellChecker.

C#
public override Control CurrentControl { get; set; }
Property Value:

The currently active control of type Control.

Overrides: ControlSpellCheckerBase.CurrentControl

Gets the supported control type for the RadRichTextBoxSpellChecker.

C#
public override Type SupportedControlType { get; }
Property Value:

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

Overrides: ControlSpellCheckerBase.SupportedControlType

Methods

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

C#
public override void ChangeCurrentWord(string suggestion)
Parameters:suggestionstring

Overrides: ControlSpellCheckerBase.ChangeCurrentWord(string)

Retrieves the content of the RadRichTextBox as a document object.

C#
public override RadDocument GetContentAsDocument()
Returns:

RadDocument

A document representation of the content in the RadRichTextBox.

Overrides: ControlSpellCheckerBase.GetContentAsDocument()

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

C#
public override IWordInfo MoveToNextError()
Returns:

IWordInfo

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

Overrides: ControlSpellCheckerBase.MoveToNextError()

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

C#
public override void ResetFields()

Overrides: ControlSpellCheckerBase.ResetFields()

Sets the content of the RadRichTextBoxSpellChecker from the specified RadDocument.

C#
public override void SetContentFromDocument(RadDocument document)
Parameters:documentRadDocument

The RadDocument from which the content will be extracted.

Overrides: ControlSpellCheckerBase.SetContentFromDocument(RadDocument)