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

Definition

Namespace:Telerik.WinControls.SpellChecker.Proofing

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public class WordDictionary : IWordDictionary

Inheritance: objectWordDictionary

Derived Classes: EnglishDictionaryRadIsolatedStorageCustomDictionaryRadNonPersistentCustomDictionary

Implements: IWordDictionary

Constructors

C#
public WordDictionary()
C#
public WordDictionary(int expectedSize)
Parameters:expectedSizeint

Fields

C#
protected List<string> allWords
C#
protected static readonly string[] emptyStringArray
C#
protected Dictionary<string, Tuple<string, string>> metaphoneByWord

wordsByMetaphone

Dictionary<string, List<string>>

C#
protected Dictionary<string, List<string>> wordsByMetaphone
C#
protected Dictionary<string, List<string>> wordsByMetaphoneAlternate

Properties

C#
protected bool DictionaryLoaded { get; }

Words

IEnumerable<string>

C#
public IEnumerable<string> Words { get; }

Implements: IWordDictionary.Words

Methods

C#
protected void AddWordToMetaphoneDictionaries(string word, string metaphone, string metaphoneAlternate)
Parameters:wordstringmetaphonestringmetaphoneAlternatestring
C#
public bool ContainsWord(string word)
Parameters:wordstringReturns:

bool

Implements: IWordDictionary.ContainsWord(string)

C#
protected void EnsureDictionaryLoaded()
C#
protected virtual void EnsureDictionaryLoadedOverride()
C#
public string GetMetaphoneKey(string word)
Parameters:wordstringReturns:

string

Implements: IWordDictionary.GetMetaphoneKey(string)

C#
public IEnumerable<string> GetWordsByMetaphoneKey(string word)
Parameters:wordstringReturns:

IEnumerable<string>

Implements: IWordDictionary.GetWordsByMetaphoneKey(string)

C#
protected void Init(int expectedSize)
Parameters:expectedSizeint
C#
protected void Load(IEnumerable<string> entries)
Parameters:entriesIEnumerable<string>
C#
public void Load(Stream stream)
Parameters:streamStream
C#
protected virtual void OnDataChanged()
C#
protected void RemoveWordFromMetaphoneDictionaries(string word, string metaphone, string metaphoneAlternate)
Parameters:wordstringmetaphonestringmetaphoneAlternatestring

Events

C#
public event EventHandler DataChanged