TreeListOptionsView.ShowTreeLines Property

Gets or sets whether to show the node hierarchy lines in the row indent area.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean

Default

True to display the node hierarchy lines; False to not; Default uses the currently applied skin settings.

Property Paths

You can access this nested property as listed below:

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

Remarks

The TreeList control can display lines indicating node tree hierarchy.

TreeList_ShowTreeLines

By default, tree lines are displayed or hidden depending on the currently applied skin. Use the ShowTreeLines property to explicitly specify whether to display tree lines. If the this option is enabled, you can specify the style of node hierarchy lines using the TreeListOptionsView.TreeLineStyle property.

By default, node expand/collapse buttons are drawn on a background that detaches the buttons from the tree lines. You can hide this background by setting the CustomDrawNodeButtonEventArgs.AllowDrawBackground property to false in a TreeList.CustomDrawNodeButton event handler.

See Also