Skip to main content

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