# FarPoint.Win.Spread.SpreadView.ExpandRow

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SpreadView_ExpandRow_" data-uid="FarPoint.Win.Spread.SpreadView.ExpandRow*">ExpandRow Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SpreadView_ExpandRow_" data-uid="FarPoint.Win.Spread.SpreadView.ExpandRow*"></a>
<h4 id="FarPoint_Win_Spread_SpreadView_ExpandRow_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.SpreadView.ExpandRow(System.Int32,System.Boolean)">ExpandRow(int, bool)</h4>
<div class="markdown level1 summary"><p>Expands or collapses the specified parent row, which shows or hides the child view
in a hierarchical display.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ExpandRow(int row, bool expand)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ExpandRow(row As Integer, expand As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Index of parent row to expand or collapse</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">expand</span></td>
      <td><p>True to expand and show the child sheet; false to collapse and hide the child sheet</p>
</td>
    </tr>
  </tbody>
</table>
</div>
