# GrapeCity.Spreadsheet.IRange.DirectPrecedents

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_DirectPrecedents_" data-uid="GrapeCity.Spreadsheet.IRange.DirectPrecedents*">DirectPrecedents Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_DirectPrecedents_" data-uid="GrapeCity.Spreadsheet.IRange.DirectPrecedents*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_DirectPrecedents" data-uid="GrapeCity.Spreadsheet.IRange.DirectPrecedents">DirectPrecedents</h4>
<div class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.Spreadsheet.IRange.html">IRange</a> object that represents the range containing all the direct precedents of a cell. This can be a multiple selection (a union of Range objects) if there's more than one dependent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IRange DirectPrecedents { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">ReadOnly Property DirectPrecedents As IRange</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="GrapeCity.Spreadsheet.IRange.html">IRange</a></td>
      <td><p>A Range object that represents the range containing all the direct precedents of a cell.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_DirectPrecedents_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="GrapeCity.Spreadsheet.IRange.DirectDependents.html#GrapeCity_Spreadsheet_IRange_DirectDependents">DirectDependents</a> property only works on the active sheet and can not trace remote references.</p>
</div>
</div>
