Styling treeview

4 posts, 1 answers
  1. NS
    NS avatar
    189 posts
    Member since:
    Jan 2007

    Posted 18 Sep 2008 Link to this post


    I've got a problem styling the treeview i created.

    I've added a template to it with an image and text (to display in the node) but i can't change the color of the nodes.

    Even when i change de forecolor (to black) of the treeview its stays dark green.

    Can you give some insights on this?

  2. Answer
    Valentin.Stoychev avatar
    2198 posts

    Posted 18 Sep 2008 Link to this post

    Hello Nicolas,

    Setting the foreground property to a treeviewitem should change the color of the text:
                <telerikNavigation:RadTreeViewItem Header="Ite1" Foreground="Red"/>              

    If you are using a data template you should set the Foreground property of the TextBlock element.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Mayur
    Mayur avatar
    5 posts
    Member since:
    Sep 2010

    Posted 14 Sep 2010 Link to this post

    Are there any pre-defined styles/themes available for treeview?
  4. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 16 Sep 2010 Link to this post

    Hello Mayur,

    Thanks for your interest in RadControls for WPF.

    Please visit our demo where you can see all the themes which we have for our controls.

    You can apply a custom theme to any of the controls. For more information you can follow the link below:

    If you have further questions please do not hesitate to ask us.
    I hope this will help you.

    Sincerely yours,
    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
Back to Top