ClassRichTextBoxSpellChecker
Provides spell checking functionality for rich text content within a text box.
Definition
Namespace:Telerik.Windows.Documents.Proofing
Assembly:Telerik.Windows.Documents.Proofing.dll
Syntax:
public class RichTextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker
Inheritance: objectControlSpellCheckerBaseRichTextBoxSpellChecker
Implements:
Inherited Members
Constructors
RichTextBoxSpellChecker()
Declaration
public RichTextBoxSpellChecker()
Properties
CurrentControl
Gets or sets the current control that is being checked for spelling.
Declaration
public override Control CurrentControl { get; set; }
Property Value
Control
Overrides
SupportedControlType
Represents the supported control types for the RichTextBoxSpellChecker.
Declaration
public override Type SupportedControlType { get; }
Property Value
Overrides
Methods
ChangeCurrentWord(string)
Changes the current word being checked by the spell checker to the specified word.
Declaration
public override void ChangeCurrentWord(string suggestion)
Parameters
suggestion
The word to set as the current word for spell checking.
Overrides
GetContentAsDocument()
Retrieves the content of the RichTextBox as a document object.
Declaration
public override RadDocument GetContentAsDocument()
Returns
A RadDocument instance representing the current content of the RichTextBox.
Overrides
MoveToNextError()
Moves the cursor to the next spelling or grammar error in the content.
Declaration
public override IWordInfo MoveToNextError()
Returns
True if the cursor was successfully moved to the next error; otherwise, false.
Overrides
SetContentFromDocument(RadDocument)
Sets the content of the RichTextBoxSpellChecker from a specified RadDocument.
Declaration
public override void SetContentFromDocument(RadDocument document)
Parameters
document
The RadDocument that contains the content to be set in the RichTextBoxSpellChecker.
Overrides