Class RichTextBoxSpellChecker
Provides spell checking functionality for rich text content within a text box.
Inherited Members
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.Proofing.dll
Syntax
public class RichTextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker
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
System.Windows.Controls.Control
|
Overrides
SupportedControlType
Represents the supported control types for the RichTextBoxSpellChecker.
Declaration
public override Type SupportedControlType { get; }
Property Value
System.Type
|
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
System.String
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
RadDocument
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
IWordInfo
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
RadDocument
document
The RadDocument that contains the content to be set in the RichTextBoxSpellChecker. |