Gets or sets the style of lines displayed between nodes in the tree view control. Deprecated property. Design-time only. This property cannot be modified dynamically at run-time.
object.LineStyle = [value]
from version 11.0. Refer to Deprecated and Obsolete items for additional information.
This property determines whether the lines connecting the nodes of the tree view will be displayed for parent and children nodes or child nodes only.
The available settings for the LineStyle property for a Tree View control are:
Constant |
Value |
Description |
TreeViewTreeLines |
0 |
(Default) Display lines for children nodes only. |
TreeViewRootLines |
1 |
Display lines at the parent node level from the first node. |
The LineStyle property will only be applied if the Style property is set to an option that displays lines. See the Style property page for more information on the available settings.
![]() |
![]() |
Figure1. LineStyle set to TreeViewTreeLines. |
Figure2. LineStyle set to TreeViewRootLines. |
Style property | Checkboxes property
© 2004-2021 looksoftware. All rights reserved.