# C1.WPF.SpellChecker.ISpellDialog.Initialize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_SpellChecker_ISpellDialog_Initialize_" data-uid="C1.WPF.SpellChecker.ISpellDialog.Initialize*">Initialize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_SpellChecker_ISpellDialog_Initialize_" data-uid="C1.WPF.SpellChecker.ISpellDialog.Initialize*"></a>
<h4 id="C1_WPF_SpellChecker_ISpellDialog_Initialize_C1_WPF_SpellChecker_C1SpellChecker_C1_WPF_SpellChecker_ISpellCheckableEditor_C1_WPF_SpellChecker_CharRangeList_" data-uid="C1.WPF.SpellChecker.ISpellDialog.Initialize(C1.WPF.SpellChecker.C1SpellChecker,C1.WPF.SpellChecker.ISpellCheckableEditor,C1.WPF.SpellChecker.CharRangeList)">Initialize(C1SpellChecker, ISpellCheckableEditor, CharRangeList)</h4>
<div class="markdown level1 summary"><p>Initializes the dialog with the <a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> being used to check the spelling
on a control, the <a class="xref" href="C1.WPF.SpellChecker.ISpellCheckableEditor.html">ISpellCheckableEditor</a> control that is being checked, and an
initial <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a> that contains the list of errors detected by the spell checker.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Initialize(C1SpellChecker spell, ISpellCheckableEditor editor, CharRangeList errors)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Initialize(spell As C1SpellChecker, editor As ISpellCheckableEditor, errors As CharRangeList)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a></td>
      <td><span class="parametername">spell</span></td>
      <td><p><a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> being used to check the spelling on a control.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.SpellChecker.ISpellCheckableEditor.html">ISpellCheckableEditor</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p><a class="xref" href="C1.WPF.SpellChecker.ISpellCheckableEditor.html">ISpellCheckableEditor</a> that contains the text being spell-checked.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a></td>
      <td><span class="parametername">errors</span></td>
      <td><p><a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a> that contains the initial list of errors detected by the spell-checker.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
