Class RadRichTextBoxSpellChecker
Provides spell checking functionality for the RadRichTextBox control in the Telerik framework.
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.Proofing.dll
Syntax
public class RadRichTextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker
Constructors
RadRichTextBoxSpellChecker()
Declaration
public RadRichTextBoxSpellChecker()
Properties
CurrentControl
Gets the currently active control within the RadRichTextBoxSpellChecker.
Declaration
public override Control CurrentControl { get; set; }
Property Value
System.Windows.Controls.Control
The currently active control of type System.Windows.Controls.Control. |
Overrides
SupportedControlType
Gets the supported control type for the RadRichTextBoxSpellChecker.
Declaration
public override Type SupportedControlType { get; }
Property Value
System.Type
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
System.String
suggestion
|
Overrides
GetContentAsDocument()
Retrieves the content of the RadRichTextBox as a document object.
Declaration
public override RadDocument GetContentAsDocument()
Returns
RadDocument
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
IWordInfo
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
RadDocument
document
The RadDocument from which the content will be extracted. |