New to Telerik UI for WPF? Download free 30-day trial

Lines Support

The RadTreeView allows you to enable connected lines between the nodes of a treeview. By default the connecting lines between the nodes are not enabled (they are not visible). You should use a single property to do so - IsLineEnabled and set it to True.

<telerik:RadTreeView x:Name="radTreeView" IsLineEnabled="True"> 

Rad Tree View Features Lines Support 001

You can also control the visibility of the lines between the root items (the items on the first level) of the treeview. This can be done with the IsRootLinesEnabled property of the treeview. The default value of this property is True

<telerik:RadTreeView x:Name="radTreeView" IsLineEnabled="True" IsRootLinesEnabled="False"> 

Rad Tree View Features Lines Support 002

For more information about the visual structure of the RadTreeView, check out the Visual Structure topic.

Change the LineColor

Take a look at the Styling the Lines topic in the Styling and Appearance section.

See Also

In this article