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.v24.2.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 | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowHierarchyIndentationLines |
---|---|
TreeList |
|
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.
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.
To specify the column that displays the node expand buttons, use the TreeList.HierarchyColumn or TreeList.HierarchyFieldName property.