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.ShowFirstLines Property

Gets or sets whether the tree list displays the nearest (leftmost) vertical gridlines in the column that displays the node expand buttons.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[XtraSerializableProperty]
public virtual bool ShowFirstLines { get; set; }

#Property Value

Type Description
Boolean

true, to display the nearest vertical gridlines; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ShowFirstLines
TreeList
.OptionsView .ShowFirstLines

#Remarks

By default, in the column that displays the node expand buttons, the tree list displays the nearest (leftmost in left-to-right oriented layouts) vertical gridlines, as in the figure below.

TreeListOptionsView_ShowFirstLines_True

Set the ShowFirstLines property to false to hide these gridlines.

TreeListOptionsView_ShowFirstLines_False

To specify the column that displays the node expand buttons, use the TreeList.HierarchyColumn or TreeList.HierarchyFieldName property.

See Also