# C1.Framework.IView.IsInputKey

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_IView_IsInputKey_" data-uid="C1.Framework.IView.IsInputKey*">IsInputKey Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_IView_IsInputKey_" data-uid="C1.Framework.IView.IsInputKey*"></a>
<h4 id="C1_Framework_IView_IsInputKey_System_Windows_Forms_Control_System_Windows_Forms_Keys_" data-uid="C1.Framework.IView.IsInputKey(System.Windows.Forms.Control,System.Windows.Forms.Keys)">IsInputKey(Control, Keys)</h4>
<div class="markdown level1 summary"><p>Internal version of IsInputKey that should be called by hosted controls in order to
allow the view to handle tab keys, arrows, etc.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool IsInputKey(Control ctl, Keys keyData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function IsInputKey(ctl As Control, 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.control">Control</a></td>
      <td><span class="parametername">ctl</span></td>
      <td><p>Control that received the key.</p>
</td>
    </tr>
    <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>True if the specified key is a regular input key; otherwise, false.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
