Is there any way to change appearance of connecting lines to dotted lines of WPF RadTreeView? I am looking for something similar to WinForms RadTreeView LineStyle property.
I have added attachment for reference.
1 Answer, 1 is accepted
answered on 31 May 2021, 12:12 PM
To achieve your requirement you can extract the ControlTemplate of RadTreeViewItem and set the StrokeDashArray property of the Rectangle elements representing the lines. The Rectangles are named "IndentFirstVerticalLine", "HorizontalLine" and "VerticalLine". For example:
Also, there is a feature request to introduce a public API that will allow easier customization of the lines.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.