# GrapeCity.Win.Spread.InputMan.CellType.GcMaskEditingControl.IsInputKey

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskEditingControl_IsInputKey_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskEditingControl.IsInputKey*">IsInputKey Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskEditingControl_IsInputKey_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskEditingControl.IsInputKey*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskEditingControl_IsInputKey_System_Windows_Forms_Keys_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcMaskEditingControl.IsInputKey(System.Windows.Forms.Keys)">IsInputKey(Keys)</h4>
<div class="markdown level1 summary"><p>Determines whether the specified key is a regular input key or a special key that requires preprocessing.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override bool IsInputKey(Keys keyData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function IsInputKey(keyData As Keys) 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.keys">Keys</a></td>
      <td><span class="parametername">keyData</span></td>
      <td><p>One of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.keys">Keys</a> values.</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 specified key is a regular input key; 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="GrapeCity.Win.Spread.InputMan.CellType.FieldsEditorControl.IsInputKey.html#GrapeCity_Win_Spread_InputMan_CellType_FieldsEditorControl_IsInputKey_System_Windows_Forms_Keys_">FieldsEditorControl.IsInputKey(Keys)</a></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcMaskEditingControl_IsInputKey_System_Windows_Forms_Keys__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Call the <b>IsInputKey</b> method to determine whether the key specified by the keyData parameter is an input key that the control uses. This method is called during window message preprocessing to determine whether the specified input key should be preprocessed or sent directly to the control. If <b>IsInputKey</b> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the specified key is sent directly to the control. If <b>IsInputKey</b> returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, the specified key is preprocessed and only sent to the control if it is not consumed by the preprocessing phase. Keys that are preprocessed include the Tab, Return, Esc, and the Up Arrow, Down Arrow, Left Arrow, and Right Arrow keys.</p>
</div>
</div>
