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

Customize Design ScrollBar in TreeView

2 Answers 96 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
khaldoun
Top achievements
Rank 1
khaldoun asked on 11 Jan 2012, 08:34 PM
Hi,

Is there a way to change the appearance of the ScrollBar of the treeView. I found a link in the forum  but this solution does not work 
http://www.telerik.com/community/forums/silverlight/treeview/scrollviewer-on-template.aspx 
: This sample the scroller does not scroll if the tree is more extanded 

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 16 Jan 2012, 03:14 PM
Hi Khaldoun,

The suggestion in the forum thread is to disable the RadTreeView built-in ScrollViewer and wrap the control in another ScrollViewer. However, as the RadTreeView built-in ScrollViewer is designed to work in integration with the control, it's not recommended to replace it. But you can modify its style by editing the default ControlTemplate of the RadTreeView control and applying a custom style to the ScrollViewer.

I attached a sample project where you the RadTreeView built-in ScrollViewer style is edited. You can use this sample to get started on your task. Let me know if you need more info.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
khaldoun
Top achievements
Rank 1
answered on 16 Jan 2012, 05:09 PM
Thanks the sample is great
Tags
TreeView
Asked by
khaldoun
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
khaldoun
Top achievements
Rank 1
Share this question
or