# C1.Framework.TreeRowCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_TreeRowCollection" data-uid="C1.Framework.TreeRowCollection" class="text-break">TreeRowCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a> elements for <a class="xref" href="C1.Framework.TreePanel.Rows.html#C1_Framework_TreePanel_Rows">Rows</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="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.observablecollection-1">ObservableCollection</a>&lt;<a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Framework.TreeCollection-1.html">TreeCollection</a>&lt;<a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a>&gt;</div>
    <div class="level4"><span class="xref">TreeRowCollection</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.Framework.TreeRow.html">TreeRow</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.Framework.TreeRow.html">TreeRow</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.Framework.TreeRow.html">TreeRow</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.Framework.TreeRow.html">TreeRow</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.Framework.TreeRow.html">TreeRow</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.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_TreeRowCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeRowCollection : TreeCollection&lt;TreeRow&gt;, IList&lt;TreeRow&gt;, ICollection&lt;TreeRow&gt;, IList, ICollection, IReadOnlyList&lt;TreeRow&gt;, IReadOnlyCollection&lt;TreeRow&gt;, IEnumerable&lt;TreeRow&gt;, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeRowCollection
    Inherits TreeCollection(Of TreeRow)
    Implements IList(Of TreeRow), ICollection(Of TreeRow), IList, ICollection, IReadOnlyList(Of TreeRow), IReadOnlyCollection(Of TreeRow), IEnumerable(Of TreeRow), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged</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_Framework_TreeRowCollection__ctor_C1_Framework_TreeRow_" data-uid="C1.Framework.TreeRowCollection.#ctor(C1.Framework.TreeRow)">
          <a class="xref" href="C1.Framework.TreeRowCollection.-ctor.html#C1_Framework_TreeRowCollection__ctor_C1_Framework_TreeRow_">TreeRowCollection(TreeRow)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.TreeRowCollection.html">TreeRowCollection</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_Framework_TreeRowCollection_ParentRow" data-uid="C1.Framework.TreeRowCollection.ParentRow">
          <a class="xref" href="C1.Framework.TreeRowCollection.ParentRow.html#C1_Framework_TreeRowCollection_ParentRow">ParentRow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent tree row of this collection.</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_Framework_TreeRowCollection_ClearItems" data-uid="C1.Framework.TreeRowCollection.ClearItems">
          <a class="xref" href="C1.Framework.TreeRowCollection.ClearItems.html#C1_Framework_TreeRowCollection_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_TreeRowCollection_InsertItem_System_Int32_C1_Framework_TreeRow_" data-uid="C1.Framework.TreeRowCollection.InsertItem(System.Int32,C1.Framework.TreeRow)">
          <a class="xref" href="C1.Framework.TreeRowCollection.InsertItem.html#C1_Framework_TreeRowCollection_InsertItem_System_Int32_C1_Framework_TreeRow_">InsertItem(int, TreeRow)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_TreeRowCollection_RemoveItem_System_Int32_" data-uid="C1.Framework.TreeRowCollection.RemoveItem(System.Int32)">
          <a class="xref" href="C1.Framework.TreeRowCollection.RemoveItem.html#C1_Framework_TreeRowCollection_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_TreeRowCollection_SetItem_System_Int32_C1_Framework_TreeRow_" data-uid="C1.Framework.TreeRowCollection.SetItem(System.Int32,C1.Framework.TreeRow)">
          <a class="xref" href="C1.Framework.TreeRowCollection.SetItem.html#C1_Framework_TreeRowCollection_SetItem_System_Int32_C1_Framework_TreeRow_">SetItem(int, TreeRow)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
