# FarPoint.Win.Spread.DefaultRangeGroupModel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DefaultRangeGroupModel" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel" class="text-break">DefaultRangeGroupModel Class
</h1>
  <div class="markdown level0 summary"><p>Represents the relevant default information about an outline (range group) of rows and columns.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">DefaultRangeGroupModel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupModel3.html">IRangeGroupModel3</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupModel2.html">IRangeGroupModel2</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IRangeGroupModel.html">IRangeGroupModel</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DefaultRangeGroupModel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DefaultRangeGroupModel : ISerializable, ISerializeSupport, IRangeGroupModel3, IRangeGroupModel2, IRangeGroupModel</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DefaultRangeGroupModel
    Implements ISerializable, ISerializeSupport, IRangeGroupModel3, IRangeGroupModel2, IRangeGroupModel</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel__ctor" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.-ctor.html#FarPoint_Win_Spread_DefaultRangeGroupModel__ctor">DefaultRangeGroupModel()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new default outline (range group) model.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_COLUMNGROUP_SERIALIZATIONSTRING" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.COLUMNGROUP_SERIALIZATIONSTRING">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.COLUMNGROUP_SERIALIZATIONSTRING.html">COLUMNGROUP_SERIALIZATIONSTRING</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the constant serialization string for ColumnGroup.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_ROWGROUP_SERIALIZATIONSTRING" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.ROWGROUP_SERIALIZATIONSTRING">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.ROWGROUP_SERIALIZATIONSTRING.html">ROWGROUP_SERIALIZATIONSTRING</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the constant serialization string for RowGroup.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_AddGroup_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.AddGroup(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.AddGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_AddGroup_System_Int32_System_Int32_System_Boolean_">AddGroup(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Groups all the rows or columns from the specified start index by the specified amount to an outline (range group).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_AddIndexes_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.AddIndexes(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.AddIndexes.html#FarPoint_Win_Spread_DefaultRangeGroupModel_AddIndexes_System_Int32_System_Int32_System_Boolean_">AddIndexes(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a specified amount of indexes starting with a specified index in an outline (range group).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_ClearRangeGroup_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.ClearRangeGroup(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.ClearRangeGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_ClearRangeGroup_System_Boolean_">ClearRangeGroup(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all the outlines (range groups) of rows or columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Deserialize.html#FarPoint_Win_Spread_DefaultRangeGroupModel_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the contents of an outline (range group) from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_ExpandGroup_System_Int32_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.ExpandGroup(System.Int32,System.Int32,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.ExpandGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_ExpandGroup_System_Int32_System_Int32_System_Boolean_System_Boolean_">ExpandGroup(int, int, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands an outline (range group) of rows or columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Expands_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Expands(System.Int32,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Expands.html#FarPoint_Win_Spread_DefaultRangeGroupModel_Expands_System_Int32_System_Boolean_System_Boolean_">Expands(int, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands an outline (range group) of the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Expands_System_Int32_System_Int32_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Expands(System.Int32,System.Int32,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Expands.html#FarPoint_Win_Spread_DefaultRangeGroupModel_Expands_System_Int32_System_Int32_System_Boolean_System_Boolean_">Expands(int, int, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands an outline (range group) of the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_FindGroup_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.FindGroup(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.FindGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_FindGroup_System_Int32_System_Int32_System_Boolean_">FindGroup(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds an outline (range group) with the specified level and end index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_FindGroupByIndex_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.FindGroupByIndex(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.FindGroupByIndex.html#FarPoint_Win_Spread_DefaultRangeGroupModel_FindGroupByIndex_System_Int32_System_Int32_System_Boolean_">FindGroupByIndex(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds an outline (range group) with a specified level and index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_GetCopy_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.GetCopy(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.GetCopy.html#FarPoint_Win_Spread_DefaultRangeGroupModel_GetCopy_System_Int32_System_Int32_System_Boolean_">GetCopy(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a copy of outlines (range groups) from the specified index with the specified count.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_GetGroupLevels_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.GetGroupLevels(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.GetGroupLevels.html#FarPoint_Win_Spread_DefaultRangeGroupModel_GetGroupLevels_System_Boolean_">GetGroupLevels(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the level of an outline (range group) of rows or columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.GetObjectData.html#FarPoint_Win_Spread_DefaultRangeGroupModel_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a serialization information object with the data needed to serialize the outline (range group).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_GetOutLineLevel_System_Boolean_System_Int32_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.GetOutLineLevel(System.Boolean,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.GetOutLineLevel.html#FarPoint_Win_Spread_DefaultRangeGroupModel_GetOutLineLevel_System_Boolean_System_Int32_">GetOutLineLevel(bool, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the outline level of the specified index of the range row or column group.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_GetRangeGroupInfo_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.GetRangeGroupInfo(System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.GetRangeGroupInfo.html#FarPoint_Win_Spread_DefaultRangeGroupModel_GetRangeGroupInfo_System_Int32_System_Boolean_">GetRangeGroupInfo(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an outline (range group) by level.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_IsCollapsed_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.IsCollapsed(System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.IsCollapsed.html#FarPoint_Win_Spread_DefaultRangeGroupModel_IsCollapsed_System_Int32_System_Boolean_">IsCollapsed(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if a row or column belongs to any closed outline (range group).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Move_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Move(System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Move.html#FarPoint_Win_Spread_DefaultRangeGroupModel_Move_System_Int32_System_Int32_System_Int32_System_Boolean_">Move(int, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves an outline (range group) by the specified indexes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_PasteGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.PasteGroup(FarPoint.Win.Spread.RangeGroupInfo,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.PasteGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_PasteGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Int32_System_Boolean_">PasteGroup(RangeGroupInfo, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Pastes an outline (range group) into a segment starting with the paste index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_RemoveGroup_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.RemoveGroup(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.RemoveGroup.html#FarPoint_Win_Spread_DefaultRangeGroupModel_RemoveGroup_System_Int32_System_Int32_System_Boolean_">RemoveGroup(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes rows or columns from the outline (range group) from the specified index and count,
and returns them to individual rows and columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_RemoveIndexes_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.RemoveIndexes(System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.RemoveIndexes.html#FarPoint_Win_Spread_DefaultRangeGroupModel_RemoveIndexes_System_Int32_System_Int32_System_Boolean_">RemoveIndexes(int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes indexes of an outline (range group) starting with the specified index and moving up indexes below that.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Serialize.html#FarPoint_Win_Spread_DefaultRangeGroupModel_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the contents of an outline (range group) to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_ValidateGroupState_System_Boolean_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.ValidateGroupState(System.Boolean,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.ValidateGroupState.html#FarPoint_Win_Spread_DefaultRangeGroupModel_ValidateGroupState_System_Boolean_System_Int32_System_Int32_System_Boolean_">ValidateGroupState(bool, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Changed" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Changed">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the outline (range group) model has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DefaultRangeGroupModel_Changing" data-uid="FarPoint.Win.Spread.DefaultRangeGroupModel.Changing">
          <a class="xref" href="FarPoint.Win.Spread.DefaultRangeGroupModel.Changing.html">Changing</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the outline (range group) model is changing.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
