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

Represents a spell checker that can be used to check the spelling of text within a textbox.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Documents.Proofing.dll

Syntax:

C#
public class TextBoxSpellChecker : ControlSpellCheckerBase, IControlSpellChecker

Inheritance: objectControlSpellCheckerBaseTextBoxSpellChecker

Implements: IControlSpellChecker

Inherited Members ControlSpellCheckerBase.ResetFields()ControlSpellCheckerBase.IgnoredWordsControlSpellCheckerBase.SpellChecker

Constructors

C#
public TextBoxSpellChecker()

Properties

Gets or sets the current control that the TextBoxSpellChecker is working with.

C#
public override Control CurrentControl { get; set; }

Overrides: ControlSpellCheckerBase.CurrentControl

Gets the type of control supported by the TextBoxSpellChecker.

C#
public override Type SupportedControlType { get; }

Overrides: ControlSpellCheckerBase.SupportedControlType

Methods

Changes the current word to the specified value in the TextBox spell checker.

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

The new word to set as the current word in the spell checker.

Overrides: ControlSpellCheckerBase.ChangeCurrentWord(string)

Gets the content of the TextBox as a document.

C#
public override RadDocument GetContentAsDocument()
Returns:

RadDocument

A document representation of the current content in the TextBox.

Overrides: ControlSpellCheckerBase.GetContentAsDocument()

Moves the cursor to the next spelling error in the text box.

C#
public override IWordInfo MoveToNextError()
Returns:

IWordInfo

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

Overrides: ControlSpellCheckerBase.MoveToNextError()

Sets the content of the text box spell checker from the specified document.

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

The document from which the content is to be set.

Overrides: ControlSpellCheckerBase.SetContentFromDocument(RadDocument)