# C1.Win.FlexGrid.GridTree

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_GridTree" data-uid="C1.Win.FlexGrid.GridTree" class="text-break">GridTree Class
</h1>
  <div class="markdown level0 summary"><p>The GridTree class encapsulates properties that specify the appearance, position, and behavior of the outline tree.</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">GridTree</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_GridTree_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridTree : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class GridTree
    Implements IDisposable</code></pre>
  </div>
  <h5 id="C1_Win_FlexGrid_GridTree_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Each grid has a single GridTree object, which can be obtained using the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.Tree.html#C1_Win_FlexGrid_C1FlexGridBase_Tree">Tree</a> property.</p>
</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_FlexGrid_GridTree_Column" data-uid="C1.Win.FlexGrid.GridTree.Column">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Column.html#C1_Win_FlexGrid_GridTree_Column">Column</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the column where the outline tree is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_HandleInvisibleChildren" data-uid="C1.Win.FlexGrid.GridTree.HandleInvisibleChildren">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.HandleInvisibleChildren.html#C1_Win_FlexGrid_GridTree_HandleInvisibleChildren">HandleInvisibleChildren</a>
        </td>
        <td class="markdown level1 summary"><p>If True then the collapse/expand button will not be displayed if all children of node are invisible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_IconsStyle" data-uid="C1.Win.FlexGrid.GridTree.IconsStyle">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.IconsStyle.html#C1_Win_FlexGrid_GridTree_IconsStyle">IconsStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets style of FlexGrid.Tree checkboxes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Indent" data-uid="C1.Win.FlexGrid.GridTree.Indent">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Indent.html#C1_Win_FlexGrid_GridTree_Indent">Indent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indentation, in pixels, of each tree level.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_LineColor" data-uid="C1.Win.FlexGrid.GridTree.LineColor">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.LineColor.html#C1_Win_FlexGrid_GridTree_LineColor">LineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the lines in the outline tree.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_LineStyle" data-uid="C1.Win.FlexGrid.GridTree.LineStyle">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.LineStyle.html#C1_Win_FlexGrid_GridTree_LineStyle">LineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line style used to draw the outline tree.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_MaximumLevel" data-uid="C1.Win.FlexGrid.GridTree.MaximumLevel">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.MaximumLevel.html#C1_Win_FlexGrid_GridTree_MaximumLevel">MaximumLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the level of the deepest node in the outline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_NodeImageCollapsed" data-uid="C1.Win.FlexGrid.GridTree.NodeImageCollapsed">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.NodeImageCollapsed.html#C1_Win_FlexGrid_GridTree_NodeImageCollapsed">NodeImageCollapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image displayed next to collapsed nodes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_NodeImageExpanded" data-uid="C1.Win.FlexGrid.GridTree.NodeImageExpanded">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.NodeImageExpanded.html#C1_Win_FlexGrid_GridTree_NodeImageExpanded">NodeImageExpanded</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image displayed next to expanded nodes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Style" data-uid="C1.Win.FlexGrid.GridTree.Style">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Style.html#C1_Win_FlexGrid_GridTree_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the outline tree.</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_FlexGrid_GridTree_Clear" data-uid="C1.Win.FlexGrid.GridTree.Clear">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Clear.html#C1_Win_FlexGrid_GridTree_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.Tree.html#C1_Win_FlexGrid_C1FlexGridBase_Tree">Tree</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Dispose" data-uid="C1.Win.FlexGrid.GridTree.Dispose">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Dispose.html#C1_Win_FlexGrid_GridTree_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Dispose_System_Boolean_" data-uid="C1.Win.FlexGrid.GridTree.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Dispose.html#C1_Win_FlexGrid_GridTree_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Finalize" data-uid="C1.Win.FlexGrid.GridTree.Finalize">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Finalize.html#C1_Win_FlexGrid_GridTree_Finalize">~GridTree()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes an instance of the <a class="xref" href="C1.Win.FlexGrid.GridTree.html">GridTree</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Show_System_Int32_" data-uid="C1.Win.FlexGrid.GridTree.Show(System.Int32)">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Show.html#C1_Win_FlexGrid_GridTree_Show_System_Int32_">Show(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands all nodes up to the specified level, collapses others.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Sort_System_Int32_C1_Win_FlexGrid_SortFlags_System_Int32_System_Int32_" data-uid="C1.Win.FlexGrid.GridTree.Sort(System.Int32,C1.Win.FlexGrid.SortFlags,System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Sort.html#C1_Win_FlexGrid_GridTree_Sort_System_Int32_C1_Win_FlexGrid_SortFlags_System_Int32_System_Int32_">Sort(int, SortFlags, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts all nodes at the given level.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridTree_Sort_System_Int32_System_Collections_IComparer_" data-uid="C1.Win.FlexGrid.GridTree.Sort(System.Int32,System.Collections.IComparer)">
          <a class="xref" href="C1.Win.FlexGrid.GridTree.Sort.html#C1_Win_FlexGrid_GridTree_Sort_System_Int32_System_Collections_IComparer_">Sort(int, IComparer)</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts all nodes at the given level using the specified comparer.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
