[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.SpellDictionaryBase

SpellDictionaryBase Class

Base class for built-in and user dictionaries (see (SpellDictionary and UserDictionary).

Inheritance
SpellDictionaryBase
Implements
Namespace: C1.WPF.SpellChecker
Assembly: C1.WPF.SpellChecker.4.6.2.dll
Syntax
public abstract class SpellDictionaryBase : ISpellDictionary

Fields

Name Description
m_enabled

Gets or sets whether the dictionary is enabled.

m_spell

C1SpellChecker that owns the dictionary.

m_state

Gets or sets a DictionaryState value that indicates whether the dictionary has been loaded or why it hasn't.

Properties

Name Description
Enabled

Gets or sets whether the dictionary is enabled.

State

Gets a DictionaryState value that indicates whether the dictionary was loaded successfully.

Methods

Name Description
Contains(string)

Checks whether the dictionary contains a given word.

EnsureLoaded()

Ensures the dictionary is loaded, reading words from the file if necessary.

Load(Stream)

Loads the dictionary from a stream.

Load(string)

Loads the dictionary from a file.

LoadAsync(string)

Loads the dictionary from a Uri pointing to the compressed dictionary data.

LoadAsync(Uri)

Loads the dictionary from a Uri pointing to the compressed dictionary data.

OnLoadCompleted(OpenReadCompletedEventArgs)

Raises the LoadCompleted event.

OnLoadProgressChanged(DownloadProgressChangedEventArgs)

Raises the LoadProgressChanged event.

Events

Name Description
LoadCompleted

Fires when the dictionary finishes loading after a call to the LoadAsync(Uri) method.

LoadProgressChanged

Fires while the dictionary loads after a call to the LoadAsync(Uri) method.