# C1.Framework.TreePanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_TreePanel" data-uid="C1.Framework.TreePanel" class="text-break">TreePanel Class
</h1>
  <div class="markdown level0 summary"><p>Inherits from BasePanel and provides a tree panel with rows and columns.</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.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a></div>
    <div class="level3"><span class="xref">TreePanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</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_TreePanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreePanel : BasePanel, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreePanel
    Inherits BasePanel
    Implements ISupportUia</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_TreePanel__ctor" data-uid="C1.Framework.TreePanel.#ctor">
          <a class="xref" href="C1.Framework.TreePanel.-ctor.html#C1_Framework_TreePanel__ctor">TreePanel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.TreePanel.html">TreePanel</a> element.</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_TreePanel_Columns" data-uid="C1.Framework.TreePanel.Columns">
          <a class="xref" href="C1.Framework.TreePanel.Columns.html#C1_Framework_TreePanel_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.Framework.GridColumn.html">GridColumn</a> elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_LevelOffset" data-uid="C1.Framework.TreePanel.LevelOffset">
          <a class="xref" href="C1.Framework.TreePanel.LevelOffset.html#C1_Framework_TreePanel_LevelOffset">LevelOffset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset value for a tree row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_Rows" data-uid="C1.Framework.TreePanel.Rows">
          <a class="xref" href="C1.Framework.TreePanel.Rows.html#C1_Framework_TreePanel_Rows">Rows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a> elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_ShowCheckBoxes" data-uid="C1.Framework.TreePanel.ShowCheckBoxes">
          <a class="xref" href="C1.Framework.TreePanel.ShowCheckBoxes.html#C1_Framework_TreePanel_ShowCheckBoxes">ShowCheckBoxes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets visible of the checkbox for a tree row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_TreeLine" data-uid="C1.Framework.TreePanel.TreeLine">
          <a class="xref" href="C1.Framework.TreePanel.TreeLine.html#C1_Framework_TreePanel_TreeLine">TreeLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the settings for the tree lines.</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_TreePanel_FinalizeUI" data-uid="C1.Framework.TreePanel.FinalizeUI">
          <a class="xref" href="C1.Framework.TreePanel.FinalizeUI.html#C1_Framework_TreePanel_FinalizeUI">FinalizeUI()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes the user interface. This method is called when element is removed from UI.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_Layout_System_Drawing_Graphics_" data-uid="C1.Framework.TreePanel.Layout(System.Drawing.Graphics)">
          <a class="xref" href="C1.Framework.TreePanel.Layout.html#C1_Framework_TreePanel_Layout_System_Drawing_Graphics_">Layout(Graphics)</a>
        </td>
        <td class="markdown level1 summary"><p>Layout this element based on its style and contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_TreePanel_Render_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Framework.TreePanel.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.TreePanel.Render.html#C1_Framework_TreePanel_Render_System_Drawing_Graphics_System_Drawing_Rectangle_">Render(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the element into a given rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
