# C1.Blazor.TreeView.TreeViewItemsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Blazor_TreeView_TreeViewItemsCollection" data-uid="C1.Blazor.TreeView.TreeViewItemsCollection" class="text-break">TreeViewItemsCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of <a class="xref" href="C1.Blazor.TreeView.TreeViewItem.html">TreeViewItem</a> objects for the <a class="xref" href="C1.Blazor.TreeView.C1TreeView.html">C1TreeView</a> control.</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.TreeView.TreeViewItem.html">TreeViewItem</a>&gt;</div>
    <div class="level2"><span class="xref">TreeViewItemsCollection</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.TreeView.TreeViewItem.html">TreeViewItem</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.TreeView.TreeViewItem.html">TreeViewItem</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.TreeView.TreeViewItem.html">TreeViewItem</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.TreeView.TreeViewItem.html">TreeViewItem</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.TreeView.TreeViewItem.html">TreeViewItem</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.TreeView.html">C1.Blazor.TreeView</a></h6>
  <h6><strong>Assembly</strong>: C1.Blazor.TreeView.dll</h6>
  <h5 id="C1_Blazor_TreeView_TreeViewItemsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeViewItemsCollection : C1DataCollectionList&lt;TreeViewItem&gt;, IList&lt;TreeViewItem&gt;, ICollection&lt;TreeViewItem&gt;, IList, ICollection, IReadOnlyList&lt;TreeViewItem&gt;, IReadOnlyCollection&lt;TreeViewItem&gt;, IEnumerable&lt;TreeViewItem&gt;, IEnumerable, INotifyCollectionChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeViewItemsCollection
    Inherits C1DataCollectionList(Of TreeViewItem)
    Implements IList(Of TreeViewItem), ICollection(Of TreeViewItem), IList, ICollection, IReadOnlyList(Of TreeViewItem), IReadOnlyCollection(Of TreeViewItem), IEnumerable(Of TreeViewItem), IEnumerable, INotifyCollectionChanged, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Blazor_TreeView_TreeViewItemsCollection__ctor" data-uid="C1.Blazor.TreeView.TreeViewItemsCollection.#ctor">
          <a class="xref" href="C1.Blazor.TreeView.TreeViewItemsCollection.-ctor.html#C1_Blazor_TreeView_TreeViewItemsCollection__ctor">TreeViewItemsCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Blazor.TreeView.TreeViewItemsCollection.html">TreeViewItemsCollection</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_TreeView_TreeViewItemsCollection_DataCollection" data-uid="C1.Blazor.TreeView.TreeViewItemsCollection.DataCollection">
          <a class="xref" href="C1.Blazor.TreeView.TreeViewItemsCollection.DataCollection.html#C1_Blazor_TreeView_TreeViewItemsCollection_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_TreeView_TreeViewItemsCollection_Parent" data-uid="C1.Blazor.TreeView.TreeViewItemsCollection.Parent">
          <a class="xref" href="C1.Blazor.TreeView.TreeViewItemsCollection.Parent.html#C1_Blazor_TreeView_TreeViewItemsCollection_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent <a class="xref" href="C1.Blazor.TreeView.TreeViewItem.html">TreeViewItem</a> of this collection. If this collection is the root collection of the <a class="xref" href="C1.Blazor.TreeView.C1TreeView.html">C1TreeView</a>, this property is null.</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_Blazor_TreeView_TreeViewItemsCollection_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="C1.Blazor.TreeView.TreeViewItemsCollection.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="C1.Blazor.TreeView.TreeViewItemsCollection.OnCollectionChanged.html#C1_Blazor_TreeView_TreeViewItemsCollection_OnCollectionChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnCollectionChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">CollectionChanged</span> event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
