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.v20.1.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean ShowHierarchyIndentationLines { get; set; }
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property ShowHierarchyIndentationLines As DefaultBoolean

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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowHierarchyIndentationLines
WinForms Controls GanttControl
.OptionsView.ShowHierarchyIndentationLines
GanttControl
.OptionsView.ShowHierarchyIndentationLines
ResourcesTree
.OptionsView.ShowHierarchyIndentationLines
TreeList
.OptionsView.ShowHierarchyIndentationLines
Reporting XRDesignFieldList
.OptionsView.ShowHierarchyIndentationLines
XRDesignFieldList
.OptionsView.ShowHierarchyIndentationLines
XRDesignReportExplorer
.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