RadDictionary
Represents a specialized dictionary that provides advanced functionality for RadSpellChecker, including support for localization and efficient data retrieval.
Definition
Namespace:Telerik.Windows.Documents.Proofing
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class RadDictionary : IWordDictionary
Inheritance: objectRadDictionary
Derived Classes:
Implements:
Constructors
public RadDictionary()
Fields
protected Dictionary<string, Tuple<string, string>> metaphoneByWord
protected Dictionary<string, List<string>> wordsByMetaphone
protected Dictionary<string, List<string>> wordsByMetaphoneAlternate
Properties
protected bool DictionaryLoaded { get; }
Represents a collection of words used for proofing, enabling functionalities such as spell checking and grammar checking.
public IEnumerable<string> Words { get; }
Implements:
Methods
protected void EnsureDictionaryLoaded()
protected virtual void EnsureDictionaryLoadedOverride()
Retrieves a list of words from the dictionary that match the specified Metaphone key.
public IEnumerable<string> GetWordsByMetaphoneKey(string word)
The Metaphone key used to search for corresponding words in the dictionary.
Returns:A collection of words that match the provided Metaphone key. If no words are found, an empty collection is returned.
Implements:
Loads the dictionary data from the specified stream.
public void Load(Stream stream)
The stream containing the dictionary data to be loaded.
protected virtual void OnDataChanged()
Events
public event EventHandler DataChanged