Customize Design ScrollBar in TreeView

3 posts, 0 answers
  1. khaldoun
    khaldoun avatar
    8 posts
    Member since:
    Jun 2011

    Posted 11 Jan 2012 Link to this post

    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. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 Jan 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. khaldoun
    khaldoun avatar
    8 posts
    Member since:
    Jun 2011

    Posted 16 Jan 2012 Link to this post

    Thanks the sample is great
Back to Top