# TreeLineStyleConstants
{: .no_toc }

Controls whether the [**TreeView**](/tB/Packages/WinNativeCommonCtls/TreeView/index.md) draws tree lines from root nodes or only from child nodes. Used by [**TreeView.LineStyle**](/tB/Packages/WinNativeCommonCtls/TreeView/index.md#linestyle). Only has visible effect when [**Style**](/tB/Packages/WinNativeCommonCtls/TreeView/index.md#style) is one of the **tvwTreelines…** variants.

| Member                | Value | Description                                                                |
|-----------------------|-------|----------------------------------------------------------------------------|
| **tvwTreeLines**{: #tvwTreeLines } | 0 | Tree lines connect children to their parents but not root-level peers. |
| **tvwRootLines**{: #tvwRootLines } | 1 | Tree lines connect root-level nodes to each other as well as child connections. |

![Two TreeViews with lines, buttons and pictures: with tvwTreeLines the root nodes Documents and Music have no lines or buttons to their left, with tvwRootLines the lines join them and Music, collapsed, has a plus button](/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeLineStyleConstants.png){:width="411" height="197"}

## See Also

- [TreeView](/tB/Packages/WinNativeCommonCtls/TreeView/index.md) -- consumer
- [TreeStyleConstants](/tB/Packages/WinNativeCommonCtls/Enumerations/TreeStyleConstants.md) -- governs whether tree lines appear at all
