# C1.WPF.SpellChecker.SpellDictionaryBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_SpellDictionaryBase" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase" class="text-break">SpellDictionaryBase Class
</h1>
  <div class="markdown level0 summary"><p>Base class for built-in and user dictionaries (see (<a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.html">SpellDictionary</a> and
<a class="xref" href="C1.WPF.SpellChecker.UserDictionary.html">UserDictionary</a>).</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">SpellDictionaryBase</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.html">SpellDictionary</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.SpellChecker.UserDictionary.html">UserDictionary</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.SpellChecker.ISpellDictionary.html">ISpellDictionary</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.SpellChecker.html">C1.WPF.SpellChecker</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.SpellChecker.4.6.2.dll</h6>
  <h5 id="C1_WPF_SpellChecker_SpellDictionaryBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class SpellDictionaryBase : ISpellDictionary</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class SpellDictionaryBase
    Implements ISpellDictionary</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_m_enabled" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.m_enabled">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.m_enabled.html">m_enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the dictionary is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_m_spell" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.m_spell">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.m_spell.html">m_spell</a>
        </td>
        <td class="markdown level1 summary"><p><a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> that owns the dictionary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_m_state" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.m_state">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.m_state.html">m_state</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.SpellChecker.DictionaryState.html">DictionaryState</a> value that indicates whether
the dictionary has been loaded or why it hasn't.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_Enabled" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.Enabled">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.Enabled.html#C1_WPF_SpellChecker_SpellDictionaryBase_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the dictionary is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_State" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.State">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.State.html#C1_WPF_SpellChecker_SpellDictionaryBase_State">State</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.SpellChecker.DictionaryState.html">DictionaryState</a> value that indicates whether the dictionary was loaded
successfully.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_Contains_System_String_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.Contains(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.Contains.html#C1_WPF_SpellChecker_SpellDictionaryBase_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the dictionary contains a given word.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_EnsureLoaded" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.EnsureLoaded">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.EnsureLoaded.html#C1_WPF_SpellChecker_SpellDictionaryBase_EnsureLoaded">EnsureLoaded()</a>
        </td>
        <td class="markdown level1 summary"><p>Ensures the dictionary is loaded, reading words from the file if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_Load_System_IO_Stream_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.Load(System.IO.Stream)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.Load.html#C1_WPF_SpellChecker_SpellDictionaryBase_Load_System_IO_Stream_">Load(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a stream.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_Load_System_String_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.Load(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.Load.html#C1_WPF_SpellChecker_SpellDictionaryBase_Load_System_String_">Load(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_String_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync.html#C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_String_">LoadAsync(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a Uri pointing to the compressed dictionary data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_Uri_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync(System.Uri)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync.html#C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_Uri_">LoadAsync(Uri)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a Uri pointing to the compressed dictionary data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_OnLoadCompleted_System_Net_OpenReadCompletedEventArgs_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.OnLoadCompleted(System.Net.OpenReadCompletedEventArgs)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.OnLoadCompleted.html#C1_WPF_SpellChecker_SpellDictionaryBase_OnLoadCompleted_System_Net_OpenReadCompletedEventArgs_">OnLoadCompleted(OpenReadCompletedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadCompleted.html">LoadCompleted</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_OnLoadProgressChanged_System_Net_DownloadProgressChangedEventArgs_" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.OnLoadProgressChanged(System.Net.DownloadProgressChangedEventArgs)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.OnLoadProgressChanged.html#C1_WPF_SpellChecker_SpellDictionaryBase_OnLoadProgressChanged_System_Net_DownloadProgressChangedEventArgs_">OnLoadProgressChanged(DownloadProgressChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadProgressChanged.html">LoadProgressChanged</a> event.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_LoadCompleted" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.LoadCompleted">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadCompleted.html">LoadCompleted</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the dictionary finishes loading after a call to the <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync.html#C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_Uri_">LoadAsync(Uri)</a> method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionaryBase_LoadProgressChanged" data-uid="C1.WPF.SpellChecker.SpellDictionaryBase.LoadProgressChanged">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadProgressChanged.html">LoadProgressChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires while the dictionary loads after a call to the <a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.LoadAsync.html#C1_WPF_SpellChecker_SpellDictionaryBase_LoadAsync_System_Uri_">LoadAsync(Uri)</a> method.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
