This is a migrated thread and some comments may be shown as answers.

Changing existing theme for controls. xaml/properties needed.

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JDT
Top achievements
Rank 1
JDT asked on 09 Sep 2011, 11:13 PM
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.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 16 Sep 2011, 06:43 AM
Hi,

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.

Regards,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
General Discussions
Asked by
JDT
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or