# GrapeCity.Win.Spread.InputMan.CellType.EditBase.IsInputChar

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_IsInputChar_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.IsInputChar*">IsInputChar Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_IsInputChar_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.IsInputChar*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_IsInputChar_System_Char_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.IsInputChar(System.Char)">IsInputChar(char)</h4>
<div class="markdown level1 summary"><p>This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.</p>
<p></p>
  Determines if a character is an input character that the control recognizes.
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override bool IsInputChar(char charCode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function IsInputChar(charCode As Char) 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.char">char</a></td>
      <td><span class="parametername">charCode</span></td>
      <td><p>The character to test.</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><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the character should be sent directly to the control and not preprocessed;
otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">ControlBase.IsInputChar(char)</a></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_IsInputChar_System_Char__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Call the <b>IsInputChar</b> method to determine whether the character specified by
the charCode parameter is an input character that the control requires.
This method is called during window message preprocessing to determine
whether the specified input character should be preprocessed or sent directly to the control.
If <b>IsInputChar</b> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the specified character is sent directly to the control.
If <b>IsInputChar</b> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, the specified character is preprocessed and
only sent to the control if it is not consumed by the preprocessing phase.
The preprocessing of a character includes checking whether the character is a mnemonic of
another control.</p>
</div>
</div>
