HasLines Property
Applies To: TreeView

Description

The HasLines property specifies whether or not tree lines are drawn in a TreeView object. It is a single integer with the value 0, 1 or 2:

0 No tree lines
1 Tree lines are drawn at all levels except the top level
2 Tree lines are drawn at all levels

The user can cause a parent item to expand or collapse by clicking on its corresponding tree line.