# C1.Win.GanttView.GroupModelCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_GroupModelCollection" data-uid="C1.Win.GanttView.GroupModelCollection" class="text-break">GroupModelCollection Class
</h1>
  <div class="markdown level0 summary"><p>This class represents the collection of group models.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <div class="level2"><span class="xref">GroupModelCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <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.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_GroupModelCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GroupModelCollection : Collection&lt;BaseGroup&gt;, IList&lt;BaseGroup&gt;, ICollection&lt;BaseGroup&gt;, IList, ICollection, IReadOnlyList&lt;BaseGroup&gt;, IReadOnlyCollection&lt;BaseGroup&gt;, IEnumerable&lt;BaseGroup&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GroupModelCollection
    Inherits Collection(Of BaseGroup)
    Implements IList(Of BaseGroup), ICollection(Of BaseGroup), IList, ICollection, IReadOnlyList(Of BaseGroup), IReadOnlyCollection(Of BaseGroup), IEnumerable(Of BaseGroup), IEnumerable</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="C1_Win_GanttView_GroupModelCollection__ctor" data-uid="C1.Win.GanttView.GroupModelCollection.#ctor">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.-ctor.html#C1_Win_GanttView_GroupModelCollection__ctor">GroupModelCollection()</a>
        </td>
        <td class="markdown level1 summary"></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="C1_Win_GanttView_GroupModelCollection_ClearItems" data-uid="C1.Win.GanttView.GroupModelCollection.ClearItems">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.ClearItems.html#C1_Win_GanttView_GroupModelCollection_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the System.Collections.ObjectModel.Collection&lt;T&gt;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupModelCollection_InsertItem_System_Int32_C1_Win_GanttView_BaseGroup_" data-uid="C1.Win.GanttView.GroupModelCollection.InsertItem(System.Int32,C1.Win.GanttView.BaseGroup)">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.InsertItem.html#C1_Win_GanttView_GroupModelCollection_InsertItem_System_Int32_C1_Win_GanttView_BaseGroup_">InsertItem(int, BaseGroup)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an element into the System.Collections.ObjectModel.Collection&lt;T&gt;
at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupModelCollection_OnListChanged_System_EventArgs_" data-uid="C1.Win.GanttView.GroupModelCollection.OnListChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.OnListChanged.html#C1_Win_GanttView_GroupModelCollection_OnListChanged_System_EventArgs_">OnListChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the <span class="xref">ListChanged</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupModelCollection_RemoveItem_System_Int32_" data-uid="C1.Win.GanttView.GroupModelCollection.RemoveItem(System.Int32)">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.RemoveItem.html#C1_Win_GanttView_GroupModelCollection_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element at the specified index of the System.Collections.ObjectModel.Collection&lt;T&gt;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupModelCollection_SetItem_System_Int32_C1_Win_GanttView_BaseGroup_" data-uid="C1.Win.GanttView.GroupModelCollection.SetItem(System.Int32,C1.Win.GanttView.BaseGroup)">
          <a class="xref" href="C1.Win.GanttView.GroupModelCollection.SetItem.html#C1_Win_GanttView_GroupModelCollection_SetItem_System_Int32_C1_Win_GanttView_BaseGroup_">SetItem(int, BaseGroup)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the element at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
