Contolling shape and color or RadScrollablePanel Scrollbars

4 posts, 0 answers
  1. Glenn
    Glenn avatar
    11 posts
    Member since:
    Oct 2012

    Posted 30 Nov 2012 Link to this post

    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
  2. Anton
    Admin
    Anton avatar
    167 posts

    Posted 05 Dec 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Glenn
    Glenn avatar
    11 posts
    Member since:
    Oct 2012

    Posted 05 Dec 2012 Link to this post

    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
  5. Anton
    Admin
    Anton avatar
    167 posts

    Posted 07 Dec 2012 Link to this post

    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.
Back to Top