# C1.Win.Ribbon.QatCustomButtonCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_QatCustomButtonCollection" data-uid="C1.Win.Ribbon.QatCustomButtonCollection" class="text-break">QatCustomButtonCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of the <a class="xref" href="C1.Win.Ribbon.RibbonQat.html">RibbonQat</a> menu <a class="xref" href="C1.Win.Ribbon.RibbonButton.html">RibbonButton</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"><a class="xref" href="C1.Win.Ribbon.RibbonItemCollectionBase.html">RibbonItemCollectionBase</a></div>
    <div class="level3"><span class="xref">QatCustomButtonCollection</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_QatCustomButtonCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ListBindable(false)]
public class QatCustomButtonCollection : RibbonItemCollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ListBindable(False)&gt;
Public Class QatCustomButtonCollection
    Inherits RibbonItemCollectionBase
    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_QatCustomButtonCollection_Item_System_Int32_" data-uid="C1.Win.Ribbon.QatCustomButtonCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.Item.html#C1_Win_Ribbon_QatCustomButtonCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Ribbon.RibbonButton.html">RibbonButton</a> at the specified position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_QatCustomButtonCollection_Item_System_String_" data-uid="C1.Win.Ribbon.QatCustomButtonCollection.Item(System.String)">
          <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.Item.html#C1_Win_Ribbon_QatCustomButtonCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.Ribbon.RibbonButton.html">RibbonButton</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_QatCustomButtonCollection_Add_System_String_" data-uid="C1.Win.Ribbon.QatCustomButtonCollection.Add(System.String)">
          <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.Add.html#C1_Win_Ribbon_QatCustomButtonCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new button with the specified text to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_QatCustomButtonCollection_Contains_C1_Win_Ribbon_RibbonButton_" data-uid="C1.Win.Ribbon.QatCustomButtonCollection.Contains(C1.Win.Ribbon.RibbonButton)">
          <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.Contains.html#C1_Win_Ribbon_QatCustomButtonCollection_Contains_C1_Win_Ribbon_RibbonButton_">Contains(RibbonButton)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.html">QatCustomButtonCollection</a> contains a specific <a class="xref" href="C1.Win.Ribbon.RibbonButton.html">RibbonButton</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_QatCustomButtonCollection_IndexOf_System_String_" data-uid="C1.Win.Ribbon.QatCustomButtonCollection.IndexOf(System.String)">
          <a class="xref" href="C1.Win.Ribbon.QatCustomButtonCollection.IndexOf.html#C1_Win_Ribbon_QatCustomButtonCollection_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.RibbonButton.html">RibbonButton</a> with the given name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
