# FarPoint.Win.Spread.GroupInfoCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_GroupInfoCollection" data-uid="FarPoint.Win.Spread.GroupInfoCollection" class="text-break">GroupInfoCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents the read-only collection of GroupInfo objects.</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">GroupInfoCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ICanSerializeXml.html">ICanSerializeXml</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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_GroupInfoCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GroupInfoCollection : IList, ICollection, IEnumerable, ICanSerializeXml, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GroupInfoCollection
    Implements IList, ICollection, IEnumerable, ICanSerializeXml, ISerializeSupport</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_GroupInfoCollection__ctor" data-uid="FarPoint.Win.Spread.GroupInfoCollection.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.-ctor.html#FarPoint_Win_Spread_GroupInfoCollection__ctor">GroupInfoCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a GroupInfo collection (GroupInfoCollection object).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_GroupInfoCollection_CanSerializeXml" data-uid="FarPoint.Win.Spread.GroupInfoCollection.CanSerializeXml">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.CanSerializeXml.html#FarPoint_Win_Spread_GroupInfoCollection_CanSerializeXml">CanSerializeXml</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the object can be rendered with XML
in its entirety without losing any information.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Count" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Count">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Count.html#FarPoint_Win_Spread_GroupInfoCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of GroupInfo objects in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_IsFixedSize" data-uid="FarPoint.Win.Spread.GroupInfoCollection.IsFixedSize">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.IsFixedSize.html#FarPoint_Win_Spread_GroupInfoCollection_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the collection has a fixed size.
(This implementation always returns false.)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_IsReadOnly" data-uid="FarPoint.Win.Spread.GroupInfoCollection.IsReadOnly">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.IsReadOnly.html#FarPoint_Win_Spread_GroupInfoCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the collection is read-only.
(This implementation always returns false.)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_IsSynchronized" data-uid="FarPoint.Win.Spread.GroupInfoCollection.IsSynchronized">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.IsSynchronized.html#FarPoint_Win_Spread_GroupInfoCollection_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether access to the collection is synchronized.
(This implementation always returns false.)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Item_System_Int32_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Item.html#FarPoint_Win_Spread_GroupInfoCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the GroupInfo object at the specified index in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_SyncRoot" data-uid="FarPoint.Win.Spread.GroupInfoCollection.SyncRoot">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.SyncRoot.html#FarPoint_Win_Spread_GroupInfoCollection_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection (GroupInfoCollection object) that can be used to
synchronize access.</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_GroupInfoCollection_Add_FarPoint_Win_Spread_GroupInfo_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Add(FarPoint.Win.Spread.GroupInfo)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Add.html#FarPoint_Win_Spread_GroupInfoCollection_Add_FarPoint_Win_Spread_GroupInfo_">Add(GroupInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a GroupInfo object to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_AddRange_FarPoint_Win_Spread_GroupInfo___" data-uid="FarPoint.Win.Spread.GroupInfoCollection.AddRange(FarPoint.Win.Spread.GroupInfo[])">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.AddRange.html#FarPoint_Win_Spread_GroupInfoCollection_AddRange_FarPoint_Win_Spread_GroupInfo___">AddRange(GroupInfo[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of GroupInfo objects to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_AddRange_System_Collections_ICollection_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.AddRange(System.Collections.ICollection)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.AddRange.html#FarPoint_Win_Spread_GroupInfoCollection_AddRange_System_Collections_ICollection_">AddRange(ICollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of GroupInfo objects to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Clear" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Clear">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Clear.html#FarPoint_Win_Spread_GroupInfoCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all GroupInfo objects from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Contains_FarPoint_Win_Spread_GroupInfo_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Contains(FarPoint.Win.Spread.GroupInfo)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Contains.html#FarPoint_Win_Spread_GroupInfoCollection_Contains_FarPoint_Win_Spread_GroupInfo_">Contains(GroupInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains the specified GroupInfo object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_CopyTo_FarPoint_Win_Spread_GroupInfo___System_Int32_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.CopyTo(FarPoint.Win.Spread.GroupInfo[],System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.CopyTo.html#FarPoint_Win_Spread_GroupInfoCollection_CopyTo_FarPoint_Win_Spread_GroupInfo___System_Int32_">CopyTo(GroupInfo[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the GroupInfos in the collection to a specified array at a specified position.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_CopyTo_System_Array_System_Int32_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.CopyTo.html#FarPoint_Win_Spread_GroupInfoCollection_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the GroupInfos in the collection to a specified array at a specified position.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Deserialize.html#FarPoint_Win_Spread_GroupInfoCollection_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_GetEnumerator" data-uid="FarPoint.Win.Spread.GroupInfoCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.GetEnumerator.html#FarPoint_Win_Spread_GroupInfoCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an IEnumerator object for enumerating through the GroupInfo objects
in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_IndexOf_FarPoint_Win_Spread_GroupInfo_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.IndexOf(FarPoint.Win.Spread.GroupInfo)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.IndexOf.html#FarPoint_Win_Spread_GroupInfoCollection_IndexOf_FarPoint_Win_Spread_GroupInfo_">IndexOf(GroupInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified GroupInfo object in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Insert_System_Int32_FarPoint_Win_Spread_GroupInfo_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Insert(System.Int32,FarPoint.Win.Spread.GroupInfo)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Insert.html#FarPoint_Win_Spread_GroupInfoCollection_Insert_System_Int32_FarPoint_Win_Spread_GroupInfo_">Insert(int, GroupInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a GroupInfo into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_OnChanged_FarPoint_Win_Spread_Model_SheetStyleModelEventArgs_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.OnChanged(FarPoint.Win.Spread.Model.SheetStyleModelEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.OnChanged.html#FarPoint_Win_Spread_GroupInfoCollection_OnChanged_FarPoint_Win_Spread_Model_SheetStyleModelEventArgs_">OnChanged(SheetStyleModelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Remove_FarPoint_Win_Spread_GroupInfo_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Remove(FarPoint.Win.Spread.GroupInfo)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Remove.html#FarPoint_Win_Spread_GroupInfoCollection_Remove_FarPoint_Win_Spread_GroupInfo_">Remove(GroupInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified GroupInfo object from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.RemoveAt.html#FarPoint_Win_Spread_GroupInfoCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the GroupInfo object from the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_GroupInfoCollection_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Serialize.html#FarPoint_Win_Spread_GroupInfoCollection_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</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_GroupInfoCollection_Changed" data-uid="FarPoint.Win.Spread.GroupInfoCollection.Changed">
          <a class="xref" href="FarPoint.Win.Spread.GroupInfoCollection.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user makes a change to the model
that affects the style of the sheet.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
