Skip to main content
A newer version of this page is available. .

TreeListOptionsView.ShowHierarchyIndentationLines Property

Gets or sets whether to draw horizontal gridlines in a column displaying the node expand buttons for the entire width of the column, including tree indents.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean ShowHierarchyIndentationLines { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

Default to do not draw the gridlines for hierarchy indentations in the first column, and draw otherwise. True or False to draw or do not draw, respectively, the gridlines regardless of the number of the column.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowHierarchyIndentationLines
WinForms Controls ResourcesTree
.OptionsView.ShowHierarchyIndentationLines
TreeList
.OptionsView.ShowHierarchyIndentationLines
Reporting XRDesignFieldList
.OptionsView.ShowHierarchyIndentationLines
XRDesignReportExplorer
.OptionsView.ShowHierarchyIndentationLines

Remarks

By default, if the node expand buttons are displayed in the first column, the tree list control does not draw horizontal gridlines for the tree indents, as shown in the figure below.

TreeListOptionsView_ShowHierarchyIndentationLines_False

If the node expand buttons are displayed in any other column, these gridlines are drawn for the entire width of the column by default.

Use the ShowHierarchyIndentationLines property to explicitly specify whether to draw these gridlines. In the figure below, the gridlines are drawn in the first column for the entire column width.

TreeListOptionsView_ShowHierarchyIndentationLines_True

To specify the column that displays the node expand buttons, use the TreeList.HierarchyColumn or TreeList.HierarchyFieldName property.

See Also