# C1.WPF.SpellChecker.C1SpellDialog.Initialize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_SpellChecker_C1SpellDialog_Initialize_" data-uid="C1.WPF.SpellChecker.C1SpellDialog.Initialize*">Initialize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_SpellChecker_C1SpellDialog_Initialize_" data-uid="C1.WPF.SpellChecker.C1SpellDialog.Initialize*"></a>
<h4 id="C1_WPF_SpellChecker_C1SpellDialog_Initialize_C1_WPF_SpellChecker_C1SpellChecker_C1_WPF_SpellChecker_ISpellCheckableEditor_C1_WPF_SpellChecker_CharRangeList_" data-uid="C1.WPF.SpellChecker.C1SpellDialog.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 to use the given parameters.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Initialize(C1SpellChecker spell, ISpellCheckableEditor editor, CharRangeList errors)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public 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> to use for spelling.</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 to spell-check.</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 error list.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="C1.WPF.SpellChecker.ISpellDialog.Initialize.html#C1_WPF_SpellChecker_ISpellDialog_Initialize_C1_WPF_SpellChecker_C1SpellChecker_C1_WPF_SpellChecker_ISpellCheckableEditor_C1_WPF_SpellChecker_CharRangeList_">ISpellDialog.Initialize(C1SpellChecker, ISpellCheckableEditor, CharRangeList)</a></div>
</div>
