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

TreeListOptionsView.TreeLineStyle Property

Gets or sets the style (solid, dash, etc.) of lines indicating the node hierarchy in the row indent area.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[DefaultValue(LineStyle.Percent50)]
[XtraSerializableProperty]
public LineStyle TreeLineStyle { get; set; }

Property Value

Type Default Description
LineStyle **Percent50**

A LineStyle enumeration value specifying the line style.

Available values:

Name Description
None

Hides tree lines.

LineStyle.None

Percent50

Sets the TreeList control tree line style to Percent50.

LineStyle.percent50

Dark

Sets the TreeList control tree line style to Dark.

LineStyle.Dark

Light

Sets the TreeList control tree line style to Light.

LineStyle.Light

Wide

Sets the TreeList control tree line style to Wide.

LineStyle.Wide

Large

Sets the TreeList control tree line style to Large.

LineStyle.Large

Solid

Sets the TreeList control tree line style to Solid.

LineStyle.Solid

Property Paths

You can access this nested property as listed below:

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

Remarks

If the TreeListOptionsView.ShowTreeLines option is enabled, the TreeLineStyle property allows you to specify the style (solid, dash, etc.) of lines indicating the node hierarchy in the row indent area.

See Also