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

Contolling shape and color or RadScrollablePanel Scrollbars

3 Answers 129 Views
ScrollablePanel
This is a migrated thread and some comments may be shown as answers.
Glenn
Top achievements
Rank 1
Glenn asked on 30 Nov 2012, 03:40 PM
I'm sure I'm missing something simple here, but how do I control the shape and color of the scrollbars in the RadScrollablePanel? I cannot seem to access the scroll bars to style them the way I would like. The example in the top left corner of this page is exactly what I am looking for:

http://www.telerik.com/help/winforms/panels-and-labels-radscrollablepanel-overview.html

Thanks,

G

3 Answers, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 05 Dec 2012, 10:20 AM
Hello Glenn,

Thank you for writing.

You can use aqua theme to achieve the desired look and feel. You can reed more about how to use our default themes in this document article:http://www.telerik.com/help/winforms/themes-using-default-themes.html

I hope this helps.

Kind regards,
Anton
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Glenn
Top achievements
Rank 1
answered on 05 Dec 2012, 01:34 PM
Thanks for the response.

What I would really like to know is how to access the properties for the scrollbars so that I can style them exactly as I want. I've looked all through the properties of the RadScrollablePanel and just don't see how to access the horizontal scroll bar so that I can style it. Any way you can point me to the right direction on that item?

Thanks,

G
0
Anton
Telerik team
answered on 07 Dec 2012, 12:19 PM
Hello Glenn,

Thank you for writing back

You can access the scroll bars elements through the element tree. For example:
this.radScrollablePanel1.HorizontalScrollbar.ScrollBarElement.FirstButton;
this.radScrollablePanel1.HorizontalScrollbar.ScrollBarElement.SecondButton;
this.radScrollablePanel1.HorizontalScrollbar.ScrollBarElement.ThumbElement;

Should you have any other questions, I will be glad to assist you.

Greetings,
Anton
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
ScrollablePanel
Asked by
Glenn
Top achievements
Rank 1
Answers by
Anton
Telerik team
Glenn
Top achievements
Rank 1
Share this question
or