LineStyle

This property returns and sets the style of lines displayed between Node objects.

Syntax

object.LineStyle[ = number]

Parameters

object
Object expression that evaluates to a TreeView control.
number
Value or constant that specifies the line style. Following are the settings for number:
0 (default)
Tree lines. Displays lines between Node siblings and their parent Node.
1
Root lines. In addition to displaying lines between Node siblings and their parent Node, this property also displays lines between the root nodes.

Remarks

You must set the LineStyle property to a style that includes tree lines.