# C1.Win.Command.C1NavBarButton.ButtonCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_C1NavBarButton_ButtonCollection" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection" class="text-break">C1NavBarButton.ButtonCollection Class
</h1>
  <div class="markdown level0 summary"><p>The collection of buttons in navigation bar.</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">C1NavBarButton.ButtonCollection</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.Command.html">C1.Win.Command</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Command.4.8.dll</h6>
  <h5 id="C1_Win_Command_C1NavBarButton_ButtonCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1NavBarButton.ButtonCollection : IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1NavBarButton.ButtonCollection
    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_Command_C1NavBarButton_ButtonCollection_Count" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Count">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Count.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of elements contained in the ICollection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_IsFixedSize" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.IsFixedSize">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.IsFixedSize.html#C1_Win_Command_C1NavBarButton_ButtonCollection_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the IList has a fixed size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_IsReadOnly" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.IsReadOnly">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.IsReadOnly.html#C1_Win_Command_C1NavBarButton_ButtonCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the IList is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_IsSynchronized" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.IsSynchronized">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.IsSynchronized.html#C1_Win_Command_C1NavBarButton_ButtonCollection_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether access to the ICollection is synchronized</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_Item_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Item.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_SyncRoot" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.SyncRoot">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.SyncRoot.html#C1_Win_Command_C1NavBarButton_ButtonCollection_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object that can be used to synchronize access to the ICollection.</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_Command_C1NavBarButton_ButtonCollection_Add_System_Object_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Add(System.Object)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Add.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an item to the IList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_AddNewButton" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.AddNewButton">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.AddNewButton.html#C1_Win_Command_C1NavBarButton_ButtonCollection_AddNewButton">AddNewButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new button, puts the button into the collection, returns the created button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_AddRange_System_Collections_ICollection_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.AddRange(System.Collections.ICollection)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.AddRange.html#C1_Win_Command_C1NavBarButton_ButtonCollection_AddRange_System_Collections_ICollection_">AddRange(ICollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the elements of an ICollection to the end.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_Clear" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Clear">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Clear.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the IList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_Contains_System_Object_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Contains(System.Object)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Contains.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the IList contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Array_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo(System.Array)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo.html#C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Array_">CopyTo(Array)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the ButtonCollection to a one-dimensional array.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Array_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo.html#C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the ICollection to an Array, starting at a particular Array index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Int32_System_Array_System_Int32_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo(System.Int32,System.Array,System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.CopyTo.html#C1_Win_Command_C1NavBarButton_ButtonCollection_CopyTo_System_Int32_System_Array_System_Int32_System_Int32_">CopyTo(int, Array, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the ArrayList or a portion of it to a one-dimensional array.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_GetEnumerator" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.GetEnumerator">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.GetEnumerator.html#C1_Win_Command_C1NavBarButton_ButtonCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that can iterate through the PagedControlsCollectionBase.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_IndexOf_System_Object_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.IndexOf(System.Object)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.IndexOf.html#C1_Win_Command_C1NavBarButton_ButtonCollection_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific item in the IList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_IndexOfID_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.IndexOfID(System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.IndexOfID.html#C1_Win_Command_C1NavBarButton_ButtonCollection_IndexOfID_System_Int32_">IndexOfID(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of the item in the collection
with the specified value of the ID property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_Insert_System_Int32_System_Object_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Insert(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Insert.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the IList at the specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_Remove_System_Object_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.Remove(System.Object)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.Remove.html#C1_Win_Command_C1NavBarButton_ButtonCollection_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the IList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_RemoveAt_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.RemoveAt.html#C1_Win_Command_C1NavBarButton_ButtonCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the IList item at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1NavBarButton_ButtonCollection_RemoveRange_System_Int32_System_Int32_" data-uid="C1.Win.Command.C1NavBarButton.ButtonCollection.RemoveRange(System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.Command.C1NavBarButton.ButtonCollection.RemoveRange.html#C1_Win_Command_C1NavBarButton_ButtonCollection_RemoveRange_System_Int32_System_Int32_">RemoveRange(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a range of elements.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
