# GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection" class="text-break">RibbonTabCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> objects in a <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonBar.html">RibbonBar</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"><span class="xref">RibbonTabCollection</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.html">GrapeCity.Spreadsheet.WinForms.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.WinForms.Ribbon.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class RibbonTabCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class RibbonTabCollection</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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Count" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Count.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of tabs contained in the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Item.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> at the specified position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Item_System_String_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Item.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> at the specified position in the collection.</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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Add_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Add(GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Add.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Add_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_">Add(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> to the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_ClearAndDisposeTabs" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.ClearAndDisposeTabs">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.ClearAndDisposeTabs.html#GrapeCity_Spreadsheet_WinForms_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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Insert_System_Int32_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Insert(System.Int32,GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Insert.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Insert_System_Int32_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_">Insert(int, RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> to the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Remove_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Remove(GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.Remove.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_Remove_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTab_">Remove(RibbonTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of the specified <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> from the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.RemoveAt.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTab.html">RibbonTab</a> at the specified index of the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection.html">RibbonTabCollection</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
