New to Telerik UI for WinForms? Start a free 30-day trial

Provides shared spell-checking settings and services for control-specific spell checker adapters.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public abstract class ControlSpellCheckerBase : IControlSpellChecker, IDisposable

Inheritance: objectControlSpellCheckerBase

Derived Classes: TextBoxSpellChecker

Implements: IControlSpellCheckerIDisposable

Constructors

C#
protected ControlSpellCheckerBase()

Properties

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

Implements: IControlSpellChecker.CurrentControl

Gets or sets words to skip by their control-specific position during spell checking.

C#
public IDictionary<int, string> IgnoredOnceWords { get; set; }

Implements: IControlSpellChecker.IgnoredOnceWords

C#
public IIgnoredWordDictionary IgnoredWords { get; set; }

Implements: IControlSpellChecker.IgnoredWords

Gets or sets whether words written entirely in uppercase are included in spelling checks.

C#
public bool ShowAllCapitalLettersWord { get; set; }
C#
public ISpellChecker SpellChecker { get; set; }

Implements: IControlSpellChecker.SpellChecker

Methods

Replaces the current misspelled word in the associated control with the supplied suggestion.

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

The replacement spelling.

Implements: IControlSpellChecker.ChangeCurrentWord(string)

Disposes the spell checker and releases the adapter's ignored-word state.

C#
public virtual void Dispose()

Implements: IDisposable.Dispose()

Finds the next spelling error in the associated control and returns information about that word.

C#
public abstract IWordInfo MoveToNextError()
Returns:

IWordInfo

The next misspelled word, or null when no further errors are found.

Implements: IControlSpellChecker.MoveToNextError()

Resets adapter-specific search state before a new spell-checking pass.

C#
public virtual void ResetFields()

Implements: IControlSpellChecker.ResetFields()

Replaces the associated control's content with the supplied document text.

C#
public abstract void SetContentFromDocument(string document)
Parameters:documentstring

The text to load into the control.

Implements: IControlSpellChecker.SetContentFromDocument(string)