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

Encapsulates logic for spell checking dialogs for RadRichTextBox.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class SpellCheckingUIManager

Inheritance: objectSpellCheckingUIManager

Constructors

Initializes a new instance of the SpellCheckingUIManager class.

C#
public SpellCheckingUIManager(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The instance of RadRichTextBox to be spell checked.

Methods

Adds word to dictionary.

C#
public void AddToDictionary(string word)
Parameters:wordstring

The word.

Changes all occurrences of the incorrectWord with suggestion.

C#
public void ChangeAll(string incorrectWord, string suggestion)
Parameters:incorrectWordstring

The incorrect word.

suggestionstring

The suggestion which will replace the word.

Changes the currently selected word with the suggestion.

C#
public void ChangeWord(string suggestion)
Parameters:suggestionstring

The suggestion.

Creates the spell checking context document.

C#
public RadDocument CreateSpellCheckingContextDocument(TextRange incorrectWordRange)
Parameters:incorrectWordRangeTextRange

Text range for the incorrect word.

Returns:

RadDocument

RadDocument containing the incorrect word and its context.

Gets the spellchecking suggestions for a word.

C#
public ICollection<string> GetSuggestions(string word)
Parameters:wordstring

The word.

Returns:

ICollection<string>

A collection filled with the suggestions.

Determines whether there is custom dictionary to edit.

C#
public bool HasCustomDictionary()
Returns:

bool

true if there is custom dictionary to edit; otherwise, false.

Ignores all occurrences of word.

C#
public void IgnoreAll(string word)
Parameters:wordstring

The word.

Ignores the current word for further spell checking.

C#
public void IgnoreCurrentWord()

Ignores the specified word for further spell checking.

C#
public void IgnoreWord(WordInfo wordInfo)
Parameters:wordInfoWordInfo

The word to be ignored.

Selects the next incorrect word and returns info about it.

C#
public WordInfo MoveToNextError()
Returns:

WordInfo

Current incorrect word info.

Shows the dialog for editing custom spellchecking dictionaries.

C#
public void ShowEditCustomDictionaryDialog()