Back to Devexpress

TreeListOptionsView.TreeLineStyle Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsview-74d48b63.md

latest3.6 KB
Original Source

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

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

Declaration

csharp
[DefaultValue(LineStyle.Percent50)]
[XtraSerializableProperty]
public LineStyle TreeLineStyle { get; set; }
vb
<DefaultValue(LineStyle.Percent50)>
<XtraSerializableProperty>
Public Property TreeLineStyle As LineStyle

Property Value

TypeDefaultDescription
LineStylePercent50

A LineStyle enumeration value specifying the line style.

|

Available values:

NameDescription
None

Hides tree lines.

| | Percent50 |

Sets the TreeList control tree line style to Percent50.

| | Dark |

Sets the TreeList control tree line style to Dark.

| | Light |

Sets the TreeList control tree line style to Light.

| | Wide |

Sets the TreeList control tree line style to Wide.

| | Large |

Sets the TreeList control tree line style to Large.

| | Solid |

Sets the TreeList control tree line style to Solid.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

ShowTreeLines

TreeListOptionsView Class

TreeListOptionsView Members

DevExpress.XtraTreeList Namespace