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

Scrollbar appearance

3 Answers 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 12 Aug 2010, 08:58 PM
Can you advise what change is required so that the scroll bar appearance is the same as the default WPF scroll bar.

3 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 16 Aug 2010, 03:53 PM
Hi Stephen,

I'm attaching the RadTreeView control template. You can remove the theme setter to our themes on the element named "ScrollViewer". After that you should change your TreeView ControlTemplate with that one.
Hope will help you.

Best wishes,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Stephen
Top achievements
Rank 1
answered on 17 Aug 2010, 04:22 PM
Thanks, but I've no idea what I'm supposed to do. You've provided me with a file. What am I supposed to do with the file? Do I need to amend it, if so, how. Do I need to copy the file somewhere, if so, where ? Is there some other xaml file I need to amend, if so which one and how ? Can you advise step by step what I need to do.

Just to confirm what I'm trying to do. I'd like the scrollbar to have the same appearance as the one in Windows Explorer. In other words I want to remove your scrollbar customisation.
0
Miro Miroslavov
Telerik team
answered on 20 Aug 2010, 11:38 AM
Hello Stephen,

The appearance of Control is defined in template called ControlTempalte. You can change that template in order to change it's visual appearance. Read more on msdn.

You can find in the attached project - changed control template and removed the theme for the ScrollBars.
So the scroll bar looks like build-in.
Hope this is what you need.

 

Kind regards,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Stephen
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Stephen
Top achievements
Rank 1
Share this question
or