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

Lines Support

Updated on Nov 25, 2026

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.

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

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

XAML
<telerik:RadTreeView x:Name="radTreeView2" IsLineEnabled="True" IsRootLinesEnabled="False">
</telerik:RadTreeView>

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

To change the line color, extract the RadTreeViewItem control template and modify its TreeView_LineColor resource. See Editing Control Templates for extraction instructions.

See Also

In this article
Change the LineColorSee Also
Not finding the help you need?
Contact Support