# C1.WPF.Grid.GridHitTestInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridHitTestInfo" data-uid="C1.WPF.Grid.GridHitTestInfo" class="text-break">GridHitTestInfo Class
</h1>
  <div class="markdown level0 summary"><p>Contains information about a part of the <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</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">GridHitTestInfo</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridHitTestInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridHitTestInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridHitTestInfo</code></pre>
  </div>
  <h5 id="C1_WPF_Grid_GridHitTestInfo_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.html">GridHitTestInfo</a> class, in conjunction with the <span class="xref">FlexGrid.HitTest(RoutedEventArgs)</span> 
method of the <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</a> control, is used to determine which part of a <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</a> 
control the user has clicked. The <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.html">GridHitTestInfo</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.Grid.GridHitTestInfo.html">GridHitTestInfo</a>, call the <span class="xref">FlexGrid.HitTest(RoutedEventArgs)</span> method from 
one of the pointer event handlers in the control.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Grid_GridHitTestInfo__ctor_C1_WPF_Grid_FlexGrid_C1_WPF_Core_C1InputEventArgs_" data-uid="C1.WPF.Grid.GridHitTestInfo.#ctor(C1.WPF.Grid.FlexGrid,C1.WPF.Core.C1InputEventArgs)">
          <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.-ctor.html#C1_WPF_Grid_GridHitTestInfo__ctor_C1_WPF_Grid_FlexGrid_C1_WPF_Core_C1InputEventArgs_">GridHitTestInfo(FlexGrid, C1InputEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.html">GridHitTestInfo</a> class instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Grid_GridHitTestInfo_CellRange" data-uid="C1.WPF.Grid.GridHitTestInfo.CellRange">
          <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.CellRange.html#C1_WPF_Grid_GridHitTestInfo_CellRange">CellRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.Grid.GridCellRange.html">GridCellRange</a> object that represents the cell at
the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridHitTestInfo_CellType" data-uid="C1.WPF.Grid.GridHitTestInfo.CellType">
          <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.CellType.html#C1_WPF_Grid_GridHitTestInfo_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_Grid_GridHitTestInfo_Column" data-uid="C1.WPF.Grid.GridHitTestInfo.Column">
          <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.Column.html#C1_WPF_Grid_GridHitTestInfo_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_Grid_GridHitTestInfo_Row" data-uid="C1.WPF.Grid.GridHitTestInfo.Row">
          <a class="xref" href="C1.WPF.Grid.GridHitTestInfo.Row.html#C1_WPF_Grid_GridHitTestInfo_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>
