# FarPoint.Win.Spread.RangeGroupModelEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor*">RangeGroupModelEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_System_Boolean_FarPoint_Win_Spread_RangeGroupModelEventType_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor(System.Boolean,FarPoint.Win.Spread.RangeGroupModelEventType)">RangeGroupModelEventArgs(bool, RangeGroupModelEventType)</h4>
<div class="markdown level1 summary"><p>Creates a new outline (range group) model event arguments object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RangeGroupModelEventArgs(bool isRowGroup, RangeGroupModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(isRowGroup As Boolean, type As RangeGroupModelEventType)</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.boolean">bool</a></td>
      <td><span class="parametername">isRowGroup</span></td>
      <td><p>Whether the outline (range group) is of rows (or else columns)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.RangeGroupModelEventType.html">RangeGroupModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of outline (range group) model event</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_System_Int32_System_Int32_System_Boolean_FarPoint_Win_Spread_RangeGroupModelEventType_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor(System.Int32,System.Int32,System.Boolean,FarPoint.Win.Spread.RangeGroupModelEventType)">RangeGroupModelEventArgs(int, int, bool, RangeGroupModelEventType)</h4>
<div class="markdown level1 summary"><p>Creates a new outline (range group) model event arguments object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RangeGroupModelEventArgs(int startIndex, int count, bool isRowGroup, RangeGroupModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(startIndex As Integer, count As Integer, isRowGroup As Boolean, type As RangeGroupModelEventType)</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">startIndex</span></td>
      <td><p>Start index of row or column</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>Number of rows or columns</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 (range group) is of rows (or columns)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.RangeGroupModelEventType.html">RangeGroupModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of outline (range group) model event</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_RangeGroupModelEventArgs__ctor_System_Collections_ArrayList_System_Boolean_System_Boolean_System_Int32___FarPoint_Win_Spread_RangeGroupModelEventType_" data-uid="FarPoint.Win.Spread.RangeGroupModelEventArgs.#ctor(System.Collections.ArrayList,System.Boolean,System.Boolean,System.Int32[],FarPoint.Win.Spread.RangeGroupModelEventType)">RangeGroupModelEventArgs(ArrayList, bool, bool, int[], RangeGroupModelEventType)</h4>
<div class="markdown level1 summary"><p>Creates a new outline (range group) model event arguments object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RangeGroupModelEventArgs(ArrayList groupsToExpand, bool expand, bool isRowGroup, int[] changedIndexes, RangeGroupModelEventType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(groupsToExpand As ArrayList, expand As Boolean, isRowGroup As Boolean, changedIndexes As Integer(), type As RangeGroupModelEventType)</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><span class="xref">ArrayList</span></td>
      <td><span class="parametername">groupsToExpand</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">expand</span></td>
      <td><p>Whether to expand the outline (range group) (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 (range group) is of rows (or columns)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>[]</td>
      <td><span class="parametername">changedIndexes</span></td>
      <td><p>Array of changed indexes</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.RangeGroupModelEventType.html">RangeGroupModelEventType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Type of outline (range group) model</p>
</td>
    </tr>
  </tbody>
</table>
</div>
