ClassRadRichTextBoxSpellChecker
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:
public class RadRichTextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker
Inheritance: objectControlSpellCheckerBaseRadRichTextBoxSpellChecker
Implements:
Inherited Members
Constructors
RadRichTextBoxSpellChecker()
Declaration
public RadRichTextBoxSpellChecker()
Properties
CurrentControl
Gets the currently active control within the RadRichTextBoxSpellChecker.
Declaration
public override Control CurrentControl { get; set; }
Property Value
Control
The currently active control of type Control.
Overrides
SupportedControlType
Gets the supported control type for the RadRichTextBoxSpellChecker.
Declaration
public override Type SupportedControlType { get; }
Property Value
The supported control type, which indicates the specific control that the spell checker is compatible with.
Overrides
Methods
ChangeCurrentWord(string)
Changes the current word to the specified string in the RadRichTextBoxSpellChecker.
Declaration
public override void ChangeCurrentWord(string suggestion)
Parameters
suggestion
Overrides
GetContentAsDocument()
Retrieves the content of the RadRichTextBox as a document object.
Declaration
public override RadDocument GetContentAsDocument()
Returns
A document representation of the content in the RadRichTextBox.
Overrides
MoveToNextError()
Moves the cursor to the next spelling or grammar error in the document.
Declaration
public override IWordInfo MoveToNextError()
Returns
A boolean value indicating whether the cursor successfully moved to the next error.
Overrides
ResetFields()
Resets the fields in the RadRichTextBoxSpellChecker, clearing any spell-checking related data.
Declaration
public override void ResetFields()
Overrides
SetContentFromDocument(RadDocument)
Sets the content of the RadRichTextBoxSpellChecker from the specified RadDocument.
Declaration
public override void SetContentFromDocument(RadDocument document)
Parameters
document
The RadDocument from which the content will be extracted.
Overrides