# C1.WPF.SpellChecker.C1SpellDialog

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_C1SpellDialog" data-uid="C1.WPF.SpellChecker.C1SpellDialog" class="text-break">C1SpellDialog Class
</h1>
  <div class="markdown level0 summary"><p>Dialog window implementing <a class="xref" href="C1.WPF.SpellChecker.ISpellDialog.html">ISpellDialog</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">C1SpellDialog</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.SpellChecker.ISpellDialog.html">ISpellDialog</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.icomponentconnector">IComponentConnector</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_C1SpellDialog_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1SpellDialog : C1Window, ISpellDialog, IComponentConnector</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1SpellDialog
    Inherits C1Window
    Implements ISpellDialog, IComponentConnector</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_C1SpellDialog__ctor" data-uid="C1.WPF.SpellChecker.C1SpellDialog.#ctor">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.-ctor.html#C1_WPF_SpellChecker_C1SpellDialog__ctor">C1SpellDialog()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.html">C1SpellDialog</a>.</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_C1SpellDialog_CurrentError" data-uid="C1.WPF.SpellChecker.C1SpellDialog.CurrentError">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.CurrentError.html#C1_WPF_SpellChecker_C1SpellDialog_CurrentError">CurrentError</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> object that represents the error currently
displayed in the dialog.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_Editor" data-uid="C1.WPF.SpellChecker.C1SpellDialog.Editor">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.Editor.html#C1_WPF_SpellChecker_C1SpellDialog_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.WPF.SpellChecker.ISpellCheckableEditor.html">ISpellCheckableEditor</a> object being spell-checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_ErrorCount" data-uid="C1.WPF.SpellChecker.C1SpellDialog.ErrorCount">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.ErrorCount.html#C1_WPF_SpellChecker_C1SpellDialog_ErrorCount">ErrorCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the total number of errors detected in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_ErrorIndex" data-uid="C1.WPF.SpellChecker.C1SpellDialog.ErrorIndex">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.ErrorIndex.html#C1_WPF_SpellChecker_C1SpellDialog_ErrorIndex">ErrorIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the current error into the <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.Errors.html#C1_WPF_SpellChecker_C1SpellDialog_Errors">Errors</a> list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_Errors" data-uid="C1.WPF.SpellChecker.C1SpellDialog.Errors">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.Errors.html#C1_WPF_SpellChecker_C1SpellDialog_Errors">Errors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a> object with all the errors detected by the
<a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> component that owns the dialog.</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_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)">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.Initialize.html#C1_WPF_SpellChecker_C1SpellDialog_Initialize_C1_WPF_SpellChecker_C1SpellChecker_C1_WPF_SpellChecker_ISpellCheckableEditor_C1_WPF_SpellChecker_CharRangeList_">Initialize(C1SpellChecker, ISpellCheckableEditor, CharRangeList)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the dialog to use the given parameters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_InitializeComponent" data-uid="C1.WPF.SpellChecker.C1SpellDialog.InitializeComponent">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.InitializeComponent.html#C1_WPF_SpellChecker_C1SpellDialog_InitializeComponent">InitializeComponent()</a>
        </td>
        <td class="markdown level1 summary"><p>InitializeComponent</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_C1SpellDialog_OnErrorDisplayed_System_EventArgs_" data-uid="C1.WPF.SpellChecker.C1SpellDialog.OnErrorDisplayed(System.EventArgs)">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.OnErrorDisplayed.html#C1_WPF_SpellChecker_C1SpellDialog_OnErrorDisplayed_System_EventArgs_">OnErrorDisplayed(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.ErrorDisplayed.html">ErrorDisplayed</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_C1SpellDialog_ErrorDisplayed" data-uid="C1.WPF.SpellChecker.C1SpellDialog.ErrorDisplayed">
          <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.ErrorDisplayed.html">ErrorDisplayed</a>
        </td>
        <td class="markdown level1 summary"><p>Event that fires when the <a class="xref" href="C1.WPF.SpellChecker.C1SpellDialog.html">C1SpellDialog</a> displays an error
to the user.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
