# C1.Blazor.Menu.MenuItemsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Blazor_Menu_MenuItemsCollection" data-uid="C1.Blazor.Menu.MenuItemsCollection" class="text-break">MenuItemsCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</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"><a class="xref" href="../C1.DataCollection/C1.DataCollection.C1DataCollectionList-1.html">C1DataCollectionList</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <div class="level2"><span class="xref">MenuItemsCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <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.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Blazor.Menu.C1MenuItem.html">C1MenuItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.specialized.inotifycollectionchanged">INotifyCollectionChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Blazor.Menu.html">C1.Blazor.Menu</a></h6>
  <h6><strong>Assembly</strong>: C1.Blazor.Menu.dll</h6>
  <h5 id="C1_Blazor_Menu_MenuItemsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MenuItemsCollection : C1DataCollectionList&lt;C1MenuItem&gt;, IList&lt;C1MenuItem&gt;, ICollection&lt;C1MenuItem&gt;, IList, ICollection, IReadOnlyList&lt;C1MenuItem&gt;, IReadOnlyCollection&lt;C1MenuItem&gt;, IEnumerable&lt;C1MenuItem&gt;, IEnumerable, INotifyCollectionChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MenuItemsCollection
    Inherits C1DataCollectionList(Of C1MenuItem)
    Implements IList(Of C1MenuItem), ICollection(Of C1MenuItem), IList, ICollection, IReadOnlyList(Of C1MenuItem), IReadOnlyCollection(Of C1MenuItem), IEnumerable(Of C1MenuItem), IEnumerable, INotifyCollectionChanged, IDisposable</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_Blazor_Menu_MenuItemsCollection_DataCollection" data-uid="C1.Blazor.Menu.MenuItemsCollection.DataCollection">
          <a class="xref" href="C1.Blazor.Menu.MenuItemsCollection.DataCollection.html#C1_Blazor_Menu_MenuItemsCollection_DataCollection">DataCollection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the data collection this list is wrapping.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Blazor_Menu_MenuItemsCollection_Parent" data-uid="C1.Blazor.Menu.MenuItemsCollection.Parent">
          <a class="xref" href="C1.Blazor.Menu.MenuItemsCollection.Parent.html#C1_Blazor_Menu_MenuItemsCollection_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"></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_Blazor_Menu_MenuItemsCollection_Dispose_System_Boolean_" data-uid="C1.Blazor.Menu.MenuItemsCollection.Dispose(System.Boolean)">
          <a class="xref" href="C1.Blazor.Menu.MenuItemsCollection.Dispose.html#C1_Blazor_Menu_MenuItemsCollection_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Called to dispose resources.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
