Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#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:

Object Type Path to TreeLineStyle
TreeList
.OptionsView .TreeLineStyle

#Remarks

The TreeLineStyle property specifies the style (solid, dash, etc.) of lines that indicate the node hierarchy in the row indent area. This property is in effect if the TreeListOptionsView.ShowTreeLines option is enabled and ShowHierarchyIndentationLines option is disabled.

See Also