[]
        
(Showing Draft Content)

C1.Win.FlexGrid.GridTree

GridTree Class

The GridTree class encapsulates properties that specify the appearance, position, and behavior of the outline tree.

Inheritance
GridTree
Implements
Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridTree : IDisposable
Remarks

Each grid has a single GridTree object, which can be obtained using the Tree property.

Properties

Name Description
Column

Gets or sets the index of the column where the outline tree is displayed.

HandleInvisibleChildren

If True then the collapse/expand button will not be displayed if all children of node are invisible.

IconsStyle

Gets style of FlexGrid.Tree checkboxes.

Indent

Gets or sets the indentation, in pixels, of each tree level.

LineColor

Gets or sets the color of the lines in the outline tree.

LineStyle

Gets or sets the line style used to draw the outline tree.

MaximumLevel

Gets the level of the deepest node in the outline.

NodeImageCollapsed

Gets or sets the image displayed next to collapsed nodes.

NodeImageExpanded

Gets or sets the image displayed next to expanded nodes.

Style

Gets or sets the style of the outline tree.

Methods

Name Description
Clear()

Resets the Tree object.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

~GridTree()

Finalizes an instance of the GridTree class.

Show(int)

Expands all nodes up to the specified level, collapses others.

Sort(int, SortFlags, int, int)

Sorts all nodes at the given level.

Sort(int, IComparer)

Sorts all nodes at the given level using the specified comparer.