This is a migrated thread and some comments may be shown as answers.

Change root line color

1 Answer 75 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Henrique Duarte
Top achievements
Rank 1
Veteran
Henrique Duarte asked on 01 Sep 2009, 10:14 PM
Hello,

I'm using Vista Theme and I want to change the root line color between parent and child item. How can I do that?

Best regards,

Henrique

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 02 Sep 2009, 03:11 PM
Hi Henrique,

You can edit the ControlTemplate for one RadTreeViewITem and then use the modified style. (For example set it as an ItemContainerStyle if the TreeView is bound).

The elements you need to look for in the ControlTemplate are two rectangles: VerticalLine and HorizontalLine.

Sincerely yours,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Henrique Duarte
Top achievements
Rank 1
Veteran
Answers by
Miroslav
Telerik team
Share this question
or