# FarPoint.Win.Spread.SheetView.ExpandRangeGroup

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_ExpandRangeGroup_" data-uid="FarPoint.Win.Spread.SheetView.ExpandRangeGroup*">ExpandRangeGroup Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_ExpandRangeGroup_" data-uid="FarPoint.Win.Spread.SheetView.ExpandRangeGroup*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_ExpandRangeGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.SheetView.ExpandRangeGroup(FarPoint.Win.Spread.RangeGroupInfo,System.Boolean,System.Boolean)">ExpandRangeGroup(RangeGroupInfo, bool, bool)</h4>
<div class="markdown level1 summary"><p>Expands or collapses a specified outline (range group) of rows or columns.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ExpandRangeGroup(RangeGroupInfo group, bool isRowGroup, bool expand)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ExpandRangeGroup(group As RangeGroupInfo, isRowGroup As Boolean, 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="FarPoint.Win.Spread.RangeGroupInfo.html">RangeGroupInfo</a></td>
      <td><span class="parametername">group</span></td>
      <td><p>Outline (range group) 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">isRowGroup</span></td>
      <td><p>Whether the outline is a group of rows</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>Whether the action is to expand the outline</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupSupport.ExpandRangeGroup.html#FarPoint_Win_Spread_IRangeGroupSupport_ExpandRangeGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Boolean_System_Boolean_">IRangeGroupSupport.ExpandRangeGroup(RangeGroupInfo, bool, bool)</a></div>


<a id="FarPoint_Win_Spread_SheetView_ExpandRangeGroup_" data-uid="FarPoint.Win.Spread.SheetView.ExpandRangeGroup*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_ExpandRangeGroup_System_Int32_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.SheetView.ExpandRangeGroup(System.Int32,System.Int32,System.Boolean,System.Boolean)">ExpandRangeGroup(int, int, bool, bool)</h4>
<div class="markdown level1 summary"><p>Expands or collapses an outline (range group) of rows or columns, specified by level and index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ExpandRangeGroup(int level, int endIndex, bool isRowGroup, bool expand)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ExpandRangeGroup(level As Integer, endIndex As Integer, isRowGroup As Boolean, 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">level</span></td>
      <td><p>Level of the outline (range group) to expand or collapse</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">endIndex</span></td>
      <td><p>End index of the outline (range group) 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">isRowGroup</span></td>
      <td><p>Whether the outline is a group of rows</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>Whether the action is to expand</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupSupport.ExpandRangeGroup.html#FarPoint_Win_Spread_IRangeGroupSupport_ExpandRangeGroup_System_Int32_System_Int32_System_Boolean_System_Boolean_">IRangeGroupSupport.ExpandRangeGroup(int, int, bool, bool)</a></div>
</div>
