# C1.Win.Ribbon.RibbonTabCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonTabCollection" data-uid="C1.Win.Ribbon.RibbonTabCollection" class="text-break">RibbonTabCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>s.</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.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">RibbonTabCollection</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_RibbonTabCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ListBindable(false)]
public class RibbonTabCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ListBindable(False)&gt;
Public Class RibbonTabCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</code></pre>
  </div>
  <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="C1_Win_Ribbon_RibbonTabCollection_Item_System_Int32_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Item.html#C1_Win_Ribbon_RibbonTabCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> at the specified position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Item_System_String_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Item(System.String)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Item.html#C1_Win_Ribbon_RibbonTabCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> with the specified name.</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="C1_Win_Ribbon_RibbonTabCollection_Add_C1_Win_Ribbon_RibbonTab_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Add(C1.Win.Ribbon.RibbonTab)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Add.html#C1_Win_Ribbon_RibbonTabCollection_Add_C1_Win_Ribbon_RibbonTab_">Add(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Add_System_String_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Add(System.String)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Add.html#C1_Win_Ribbon_RibbonTabCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new tab with the specified text to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_ClearAndDisposeTabs" data-uid="C1.Win.Ribbon.RibbonTabCollection.ClearAndDisposeTabs">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.ClearAndDisposeTabs.html#C1_Win_Ribbon_RibbonTabCollection_ClearAndDisposeTabs">ClearAndDisposeTabs()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all tabs from the collection, then disposes the tabs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Contains_C1_Win_Ribbon_RibbonTab_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Contains(C1.Win.Ribbon.RibbonTab)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Contains.html#C1_Win_Ribbon_RibbonTabCollection_Contains_C1_Win_Ribbon_RibbonTab_">Contains(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> contains a specific <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Contains_System_String_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Contains(System.String)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Contains.html#C1_Win_Ribbon_RibbonTabCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> with the given name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_IndexOf_C1_Win_Ribbon_RibbonTab_" data-uid="C1.Win.Ribbon.RibbonTabCollection.IndexOf(C1.Win.Ribbon.RibbonTab)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.IndexOf.html#C1_Win_Ribbon_RibbonTabCollection_IndexOf_C1_Win_Ribbon_RibbonTab_">IndexOf(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specified <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> in the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_IndexOf_System_String_" data-uid="C1.Win.Ribbon.RibbonTabCollection.IndexOf(System.String)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.IndexOf.html#C1_Win_Ribbon_RibbonTabCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> with the given name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Insert_System_Int32_C1_Win_Ribbon_RibbonTab_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Insert(System.Int32,C1.Win.Ribbon.RibbonTab)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Insert.html#C1_Win_Ribbon_RibbonTabCollection_Insert_System_Int32_C1_Win_Ribbon_RibbonTab_">Insert(int, RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a> to the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_OnClearComplete" data-uid="C1.Win.Ribbon.RibbonTabCollection.OnClearComplete">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.OnClearComplete.html#C1_Win_Ribbon_RibbonTabCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after clearing the contents of
the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="C1.Win.Ribbon.RibbonTabCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.OnInsertComplete.html#C1_Win_Ribbon_RibbonTabCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after inserting a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>
into the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.Win.Ribbon.RibbonTabCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.OnRemoveComplete.html#C1_Win_Ribbon_RibbonTabCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after removing a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>
from the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="C1.Win.Ribbon.RibbonTabCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.OnSetComplete.html#C1_Win_Ribbon_RibbonTabCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after setting a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>
in the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_OnValidate_System_Object_" data-uid="C1.Win.Ribbon.RibbonTabCollection.OnValidate(System.Object)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.OnValidate.html#C1_Win_Ribbon_RibbonTabCollection_OnValidate_System_Object_">OnValidate(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks that the value is a <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonTabCollection_Remove_C1_Win_Ribbon_RibbonTab_" data-uid="C1.Win.Ribbon.RibbonTabCollection.Remove(C1.Win.Ribbon.RibbonTab)">
          <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.Remove.html#C1_Win_Ribbon_RibbonTabCollection_Remove_C1_Win_Ribbon_RibbonTab_">Remove(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurence of the specified <a class="xref" href="C1.Win.Ribbon.RibbonTab.html">RibbonTab</a>
from the <a class="xref" href="C1.Win.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
