# GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection" class="text-break">RibbonTabGroupCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup.html">RibbonContextualTabGroup</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"><span class="xref">RibbonTabGroupCollection</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_RibbonTabGroupCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonTabGroupCollection</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonTabGroupCollection</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_RibbonTabGroupCollection_Count" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Count.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements contained in the collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Item.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_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.RibbonContextualTabGroup.html">RibbonContextualTabGroup</a> at the specified position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Item_System_String_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Item.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup.html">RibbonContextualTabGroup</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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Add_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonContextualTabGroup_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Add(GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Add.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Add_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonContextualTabGroup_">Add(RibbonContextualTabGroup)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup.html">RibbonContextualTabGroup</a> to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_ClearAndDisposeTabGroups" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.ClearAndDisposeTabGroups">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.ClearAndDisposeTabGroups.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_ClearAndDisposeTabGroups">ClearAndDisposeTabGroups()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all tab groups from the collection, then disposes the groups.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Remove_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonContextualTabGroup_" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Remove(GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup)">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.Remove.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonTabGroupCollection_Remove_GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonContextualTabGroup_">Remove(RibbonContextualTabGroup)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of the specified <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonContextualTabGroup.html">RibbonContextualTabGroup</a> from the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabGroupCollection.html">RibbonTabGroupCollection</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
