# C1.WPF.FlexGrid.HitTestInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_HitTestInfo" data-uid="C1.WPF.FlexGrid.HitTestInfo" class="text-break">HitTestInfo Class
</h1>
  <div class="markdown level0 summary"><p>Contains information about a part of the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.html">C1FlexGrid</a> at a
specified coordinate.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">HitTestInfo</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexGrid.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_HitTestInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HitTestInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class HitTestInfo</code></pre>
  </div>
  <h5 id="C1_WPF_FlexGrid_HitTestInfo_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;p&gt;The &lt;xref href=&quot;C1.WPF.FlexGrid.HitTestInfo&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; class, in conjunction with the &lt;xref href=&quot;C1.WPF.FlexGrid.C1FlexGrid.HitTest(System.Windows.RoutedEventArgs)&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; 
</code></pre>
<p>method of the <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a> control, is used to determine which part of a <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a>
control the user has clicked. The <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.html">HitTestInfo</a> class contains the row, column, and type
of cell at the specified location.</p>
<p>To obtain a <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.html">HitTestInfo</a>, call the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.HitTest.html#C1_WPF_FlexGrid_C1FlexGrid_HitTest_System_Windows_RoutedEventArgs_">HitTest(RoutedEventArgs)</a> method from
one of the mouse event handlers in the control. Pass <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.MouseEventArgs.html#C1_WPF_FlexGrid_HitTestInfo_MouseEventArgs">MouseEventArgs</a> event parameter
to the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.HitTest.html#C1_WPF_FlexGrid_C1FlexGrid_HitTest_System_Windows_RoutedEventArgs_">HitTest(RoutedEventArgs)</a> method.</p>
</div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_CellRange" data-uid="C1.WPF.FlexGrid.HitTestInfo.CellRange">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.CellRange.html#C1_WPF_FlexGrid_HitTestInfo_CellRange">CellRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.CellRange.html#C1_WPF_FlexGrid_HitTestInfo_CellRange">CellRange</a> object that represents the cell at
the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_CellType" data-uid="C1.WPF.FlexGrid.HitTestInfo.CellType">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.CellType.html#C1_WPF_FlexGrid_HitTestInfo_CellType">CellType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of cell at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_Column" data-uid="C1.WPF.FlexGrid.HitTestInfo.Column">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Column.html#C1_WPF_FlexGrid_HitTestInfo_Column">Column</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the column at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_MouseEventArgs" data-uid="C1.WPF.FlexGrid.HitTestInfo.MouseEventArgs">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.MouseEventArgs.html#C1_WPF_FlexGrid_HitTestInfo_MouseEventArgs">MouseEventArgs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.routedeventargs">RoutedEventArgs</a> object used to create this
<a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.html">HitTestInfo</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_Panel" data-uid="C1.WPF.FlexGrid.HitTestInfo.Panel">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Panel.html#C1_WPF_FlexGrid_HitTestInfo_Panel">Panel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.FlexGrid.GridPanel.html">GridPanel</a> at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_Point" data-uid="C1.WPF.FlexGrid.HitTestInfo.Point">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Point.html#C1_WPF_FlexGrid_HitTestInfo_Point">Point</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Point.html#C1_WPF_FlexGrid_HitTestInfo_Point">Point</a> that defines the hit test location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_Rect" data-uid="C1.WPF.FlexGrid.HitTestInfo.Rect">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Rect.html#C1_WPF_FlexGrid_HitTestInfo_Rect">Rect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Rect.html#C1_WPF_FlexGrid_HitTestInfo_Rect">Rect</a> value that represents the bounds of the cell
at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_HitTestInfo_Row" data-uid="C1.WPF.FlexGrid.HitTestInfo.Row">
          <a class="xref" href="C1.WPF.FlexGrid.HitTestInfo.Row.html#C1_WPF_FlexGrid_HitTestInfo_Row">Row</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the row at the specified location.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
