Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TreeView > Setting forecolour of treeviewitem in code behind

Not answered Setting forecolour of treeviewitem in code behind

Feed from this thread
  • Posted on Jan 4, 2012 (permalink)

    I use the metro theme but want to change the forecolur (only) of the treeviewitems

    If possible i'd like to do it in code behind

    Can it be done?

    Thanks in advance

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jan 6, 2012 (permalink)

    Hello Cameron,

    The Foreground color of the RadTreeViewItems is defined through the Metro MarkerColor. You can change the metro colors following the approach described here.

    I also attached a sample project to demonstrate how to change the RadTreeViewItem Foreground color in code-behind. I hope it helps.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TreeView > Setting forecolour of treeviewitem in code behind
Related resources for "Setting forecolour of treeviewitem in code behind"

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