RadTreeView with personalized scroll bars

2 posts, 0 answers
  1. David
    David avatar
    14 posts
    Member since:
    Jul 2008

    Posted 15 Jul 2008 Link to this post

    Hi.

    I'm using the Theme builder to create my own TreeViewTheme. I've actually also edited the VScrollBar theme to create my own theme. Both themes are in the same Xml File. I'm Trying to use my personal scrollbar in the treeview style but It's not working, the scroll bar looks with the default style, not with my own style.

    Thanks.
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 18 Jul 2008 Link to this post

    Hi David,

    If the themes for both RadTreeView and ScrollBar have the same names, the scroll bar theme should have been applied as well (if it is loaded of course). If the themes have same names and are not applied, you may have found a bug in RadTreeView. In order to fix that bug we will need your elaboration - a sample project that demonstrates the issue would be most helpful.

    You can explicitly set the theme name for the scroll bars in RadTreeView like the sample below:
    this.radTreeView1.TreeViewElement.ScrollBarThemeName = "MyScrollBarTheme"

    Hope this helps. Don't hesitate to contact me if you have further questions.

    Kind regards,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top