# C1.WPF.Grid.GridHitTestInfo.CellRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_GridHitTestInfo_CellRange_" data-uid="C1.WPF.Grid.GridHitTestInfo.CellRange*">CellRange Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_GridHitTestInfo_CellRange_" data-uid="C1.WPF.Grid.GridHitTestInfo.CellRange*"></a>
<h4 id="C1_WPF_Grid_GridHitTestInfo_CellRange" data-uid="C1.WPF.Grid.GridHitTestInfo.CellRange">CellRange</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GridCellRange CellRange { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property CellRange As GridCellRange</code></pre>
</div>
<h5 id="C1_WPF_Grid_GridHitTestInfo_CellRange_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If there is no cell at the specified location, this property returns
an invalid <a class="xref" href="C1.WPF.Grid.GridCellRange.html">GridCellRange</a>. Use the <span class="xref">GridCellRange.IsValid</span>
property to determine whether a <a class="xref" href="C1.WPF.Grid.GridCellRange.html">GridCellRange</a> is valid.</p>
</div>
</div>
