# C1.Win.InputPanel.C1InputPanel.GetItemBounds

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_InputPanel_C1InputPanel_GetItemBounds_" data-uid="C1.Win.InputPanel.C1InputPanel.GetItemBounds*">GetItemBounds Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_InputPanel_C1InputPanel_GetItemBounds_" data-uid="C1.Win.InputPanel.C1InputPanel.GetItemBounds*"></a>
<h4 id="C1_Win_InputPanel_C1InputPanel_GetItemBounds_C1_Win_InputPanel_InputComponent_" data-uid="C1.Win.InputPanel.C1InputPanel.GetItemBounds(C1.Win.InputPanel.InputComponent)">GetItemBounds(InputComponent)</h4>
<div class="markdown level1 summary"><p>Returns the size and location of the given <a class="xref" href="C1.Win.InputPanel.InputComponent.html">InputComponent</a> in pixels
relative to the parent <a class="xref" href="C1.Win.InputPanel.C1InputPanel.html">C1InputPanel</a> control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rectangle GetItemBounds(InputComponent inputComponent)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetItemBounds(inputComponent As InputComponent) As Rectangle</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.InputPanel.InputComponent.html">InputComponent</a></td>
      <td><span class="parametername">inputComponent</span></td>
      <td></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.drawing.rectangle">Rectangle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_InputPanel_C1InputPanel_GetItemBounds_" data-uid="C1.Win.InputPanel.C1InputPanel.GetItemBounds*"></a>
<h4 id="C1_Win_InputPanel_C1InputPanel_GetItemBounds_C1_Win_InputPanel_InputComponent_C1_Win_InputPanel_InputElementType_" data-uid="C1.Win.InputPanel.C1InputPanel.GetItemBounds(C1.Win.InputPanel.InputComponent,C1.Win.InputPanel.InputElementType)">GetItemBounds(InputComponent, InputElementType)</h4>
<div class="markdown level1 summary"><p>Returns the size and location of the given <a class="xref" href="C1.Win.InputPanel.InputComponent.html">InputComponent</a> in pixels
relative to the parent <a class="xref" href="C1.Win.InputPanel.C1InputPanel.html">C1InputPanel</a> control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rectangle GetItemBounds(InputComponent inputComponent, InputElementType elementType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetItemBounds(inputComponent As InputComponent, elementType As InputElementType) As Rectangle</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.InputPanel.InputComponent.html">InputComponent</a></td>
      <td><span class="parametername">inputComponent</span></td>
      <td><p>The input component whose bounds are calculated.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.InputPanel.InputElementType.html">InputElementType</a></td>
      <td><span class="parametername">elementType</span></td>
      <td><p>The type of the specific element in the input component.</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.drawing.rectangle">Rectangle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
