# C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking*">GetActiveSpellChecking Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking*"></a>
<h4 id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_System_Windows_Forms_TextBoxBase_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking(System.Windows.Forms.TextBoxBase)">GetActiveSpellChecking(TextBoxBase)</h4>
<div class="markdown level1 summary"><p>Gets whether the <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> should highlight spelling mistakes
as the user types on a given <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool GetActiveSpellChecking(TextBoxBase textBox)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetActiveSpellChecking(textBox As TextBoxBase) As Boolean</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a></td>
      <td><span class="parametername">textBox</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a> that will be monitored for spelling mistakes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if spell-checking is enabled for the given control, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking*"></a>
<h4 id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_C1_Win_SpellChecker_ISpellCheckableRichEditor_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking(C1.Win.SpellChecker.ISpellCheckableRichEditor)">GetActiveSpellChecking(ISpellCheckableRichEditor)</h4>
<div class="markdown level1 summary"><p>Gets whether the <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> should highlight spelling mistakes
as the user types on a given <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.html">ISpellCheckableRichEditor</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool GetActiveSpellChecking(ISpellCheckableRichEditor editor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetActiveSpellChecking(editor As ISpellCheckableRichEditor) As Boolean</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.Win.SpellChecker.ISpellCheckableRichEditor.html">ISpellCheckableRichEditor</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p><a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.html">ISpellCheckableRichEditor</a> that will be monitored for spelling mistakes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if spell-checking is enabled for the given control, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_C1_Win_SpellChecker_ISpellCheckableRichEditor__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> provides as-you-type spell-checking to controls based on the 
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a>.</p>
<p>To spell-check other editors, you must write a wrapper class that implements the
<a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.html">ISpellCheckableRichEditor</a> interface. This class provides the necessary connection between 
the <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> and the editor.</p>
</div>


<a id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking*"></a>
<h4 id="C1_Win_SpellChecker_C1SpellChecker_GetActiveSpellChecking_System_Windows_Forms_Control_" data-uid="C1.Win.SpellChecker.C1SpellChecker.GetActiveSpellChecking(System.Windows.Forms.Control)">GetActiveSpellChecking(Control)</h4>
<div class="markdown level1 summary"><p>Gets whether the <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> should highlight spelling mistakes
as the user types on a given <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool GetActiveSpellChecking(Control control)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetActiveSpellChecking(control As Control) As Boolean</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></td>
      <td><span class="parametername">control</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a> that is monitored for spelling mistakes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if spell-checking is enabled for the given control, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
