# GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection" class="text-break">SubItemCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a>s in a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ListItem.html">ListItem</a>.</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.observablecollection-1">ObservableCollection</a>&lt;<a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a>&gt;</div>
    <div class="level3"><span class="xref">SubItemCollection</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.inotifycollectionchanged">INotifyCollectionChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class SubItemCollection : ObservableCollection&lt;SubItem&gt;, IList&lt;SubItem&gt;, ICollection&lt;SubItem&gt;, IList, ICollection, IReadOnlyList&lt;SubItem&gt;, IReadOnlyCollection&lt;SubItem&gt;, IEnumerable&lt;SubItem&gt;, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class SubItemCollection
    Inherits ObservableCollection(Of SubItem)
    Implements IList(Of SubItem), ICollection(Of SubItem), IList, ICollection, IReadOnlyList(Of SubItem), IReadOnlyCollection(Of SubItem), IEnumerable(Of SubItem), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged</code></pre>
  </div>
  <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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_ClearItems" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.ClearItems">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.ClearItems.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the all sub-items in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_InsertItem_System_Int32_GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItem_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.InsertItem(System.Int32,GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.InsertItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_InsertItem_System_Int32_GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItem_">InsertItem(int, SubItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a> into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_RemoveItem_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.RemoveItem(System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.RemoveItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a> out of the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_SetItem_System_Int32_GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItem_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.SetItem(System.Int32,GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.SetItem.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItemCollection_SetItem_System_Int32_GrapeCity_Wpf_SpreadSheet_CellType_Editors_SubItem_">SetItem(int, SubItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItem.html">SubItem</a> at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
