# C1.Win.SplitContainer.PanelCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_SplitContainer_PanelCollection" data-uid="C1.Win.SplitContainer.PanelCollection" class="text-break">PanelCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.Win.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</a> 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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.Win.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</a>&gt;</div>
    <div class="level2"><span class="xref">PanelCollection</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.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</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.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</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.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</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.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</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.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</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.SplitContainer.html">C1.Win.SplitContainer</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.SplitContainer.10.dll</h6>
  <h5 id="C1_Win_SplitContainer_PanelCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ListBindable(false)]
public class PanelCollection : Collection&lt;C1SplitterPanel&gt;, IList&lt;C1SplitterPanel&gt;, ICollection&lt;C1SplitterPanel&gt;, IList, ICollection, IReadOnlyList&lt;C1SplitterPanel&gt;, IReadOnlyCollection&lt;C1SplitterPanel&gt;, IEnumerable&lt;C1SplitterPanel&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ListBindable(False)&gt;
Public Class PanelCollection
    Inherits Collection(Of C1SplitterPanel)
    Implements IList(Of C1SplitterPanel), ICollection(Of C1SplitterPanel), IList, ICollection, IReadOnlyList(Of C1SplitterPanel), IReadOnlyCollection(Of C1SplitterPanel), IEnumerable(Of C1SplitterPanel), IEnumerable</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="C1_Win_SplitContainer_PanelCollection_BeginUpdate" data-uid="C1.Win.SplitContainer.PanelCollection.BeginUpdate">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.BeginUpdate.html#C1_Win_SplitContainer_PanelCollection_BeginUpdate">BeginUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Maintains performance while views are added or being changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_Clear_System_Boolean_" data-uid="C1.Win.SplitContainer.PanelCollection.Clear(System.Boolean)">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.Clear.html#C1_Win_SplitContainer_PanelCollection_Clear_System_Boolean_">Clear(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all components from the collection, then disposes the components.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_ClearItems" data-uid="C1.Win.SplitContainer.PanelCollection.ClearItems">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.ClearItems.html#C1_Win_SplitContainer_PanelCollection_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="C1.Win.SplitContainer.PanelCollection.html">PanelCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_EndUpdate" data-uid="C1.Win.SplitContainer.PanelCollection.EndUpdate">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.EndUpdate.html#C1_Win_SplitContainer_PanelCollection_EndUpdate">EndUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Resumes processing after it has been suspended by a call to <a class="xref" href="C1.Win.SplitContainer.PanelCollection.BeginUpdate.html#C1_Win_SplitContainer_PanelCollection_BeginUpdate">BeginUpdate()</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_InsertItem_System_Int32_C1_Win_SplitContainer_C1SplitterPanel_" data-uid="C1.Win.SplitContainer.PanelCollection.InsertItem(System.Int32,C1.Win.SplitContainer.C1SplitterPanel)">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.InsertItem.html#C1_Win_SplitContainer_PanelCollection_InsertItem_System_Int32_C1_Win_SplitContainer_C1SplitterPanel_">InsertItem(int, C1SplitterPanel)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="C1.Win.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</a> into the <a class="xref" href="C1.Win.SplitContainer.PanelCollection.html">PanelCollection</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_RemoveItem_System_Int32_" data-uid="C1.Win.SplitContainer.PanelCollection.RemoveItem(System.Int32)">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.RemoveItem.html#C1_Win_SplitContainer_PanelCollection_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified index of the <a class="xref" href="C1.Win.SplitContainer.PanelCollection.html">PanelCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SplitContainer_PanelCollection_SetItem_System_Int32_C1_Win_SplitContainer_C1SplitterPanel_" data-uid="C1.Win.SplitContainer.PanelCollection.SetItem(System.Int32,C1.Win.SplitContainer.C1SplitterPanel)">
          <a class="xref" href="C1.Win.SplitContainer.PanelCollection.SetItem.html#C1_Win_SplitContainer_PanelCollection_SetItem_System_Int32_C1_Win_SplitContainer_C1SplitterPanel_">SetItem(int, C1SplitterPanel)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the <a class="xref" href="C1.Win.SplitContainer.C1SplitterPanel.html">C1SplitterPanel</a> at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
