Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Styling treeview

Answered Styling treeview

Feed from this thread
  • NS Master avatar

    Posted on Sep 18, 2008 (permalink)

    Hi,

    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?

    Regards

    Reply

  • Answer Valentin.Stoychev Valentin.Stoychev admin's avatar

    Posted on Sep 18, 2008 (permalink)

    Hello Nicolas,

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

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

    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Mayur avatar

    Posted on Sep 14, 2010 (permalink)

    Are there any pre-defined styles/themes available for treeview?

    Reply

  • Dimitrina Dimitrina admin's avatar

    Posted on Sep 16, 2010 (permalink)

    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:

    http://www.telerik.com/help/wpf/common-styling-appearance-edit-control-templates-blend.html

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



    Sincerely yours,
    Dimitrina
    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Styling treeview
Related resources for "Styling treeview"

WPF TreeView Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]