Changing existing theme for controls. xaml/properties needed.

2 posts, 0 answers
  1. JDT
    JDT avatar
    45 posts
    Member since:
    Jul 2007

    Posted 09 Sep 2011 Link to this post

    Hi Telerik,

    I am going through and changing an existing theme to meet our needs. I am using Blend in the resources view to change the colors of the different control.xaml files. The problem is I don't know which properties are for what visual element of a control I am seeing.

    For example I had to change colors in "buttonChrome.xaml" to get the combobox to have the different color. Is there an easier way to do this? I am now working on a tree view and I don't know what xaml file and color property correspond to the mouse over (it was not achieved by changing the treeview.xaml) ... this is very tedious!

    Is there a picture or list that maps each controls look to their respective xaml/properties?

    Any help is much appreciated.

  2. Pana
    Pana avatar
    748 posts

    Posted 16 Sep 2011 Link to this post


    We do not have such list. If the tree view has a ButtonChrome you can check what bindings are on the ButtonChrome and see what brushes are used in the corresponding states. In general the best solution would be to inspect the XAML of the ControlTemplate and see which brushes are used by the desired states.

    We have tried to put self explaining names on the brushes but since same brushes are used in various states and different controls we ended up unable to provide a perfect solution.

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