ISpellChecker
Exposes culture-aware word validation, custom-word editing, and spelling suggestions.
Definition
Namespace:Telerik.WinControls.SpellChecker.Proofing
Assembly:Telerik.WinControls.SpellChecker.dll
Syntax:
public interface ISpellChecker : IDisposable
Inherited Members
Properties
Gets or sets the culture used by operations that do not take an explicit culture.
CultureInfo SpellCheckingCulture { get; set; }
Methods
Adds a spelling to the custom dictionary for the specified culture.
void AddWord(string word, CultureInfo culture)
The spelling to add.
cultureCultureInfoThe culture whose custom dictionary receives the spelling.
Adds a spelling to the custom dictionary for the checker's active culture.
Determines whether a custom dictionary is available for the specified culture.
bool CanAddWord(CultureInfo culture)
The culture whose custom dictionary is checked.
Returns:true when a custom dictionary is available; otherwise, false.
Determines whether a word is recognized using the specified culture.
bool CheckWordIsCorrect(string word, CultureInfo culture)
The spelling to check.
cultureCultureInfoThe culture whose word dictionaries are used.
Returns:Gets spelling suggestions using the specified culture.
ICollection<string> GetSuggestions(string word, CultureInfo culture)
The spelling for which to find suggestions.
cultureCultureInfoThe culture whose word dictionaries are used.
Returns:ICollection<string>
The candidate replacement spellings.
Removes a spelling from the custom dictionary for the specified culture.
void RemoveWord(string word, CultureInfo culture)
The spelling to remove.
cultureCultureInfoThe culture whose custom dictionary is searched.
Removes a spelling from the custom dictionary for the checker's active culture.
Events
Occurs when spell-checking data or the active culture changes.
event EventHandler DataChanged