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

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

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:

Library Object Type Path to ShowFirstLines
WinForms Controls GanttControl
.OptionsView.ShowFirstLines
ResourcesTree
.OptionsView.ShowFirstLines
TreeList
.OptionsView.ShowFirstLines
Reporting XRDesignFieldList
.OptionsView.ShowFirstLines
XRDesignReportExplorer
.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowFirstLines property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also