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

Best practice for handling custom themes?

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
stan0611
Top achievements
Rank 1
stan0611 asked on 11 Apr 2011, 01:30 PM
Hi all,

I'm currently using the RadScheduler control for silverlight. I have some minor modifications to make and the one and only solution is to implement a custom theme and change it appropriately. Not a problem so far. But consider the following scenario:

 - Couple (10 / 20 or so) modifications al across the custom theme
 - Customer wants a different theme (e.g. he doesn't like the color and wants to switch from office_blue to office_black)

Is there a best practice of some sort to be able to quickly switch between themes and not lose your customizations?

Should I manually separate the logic (ControlTemplates etc.) from the layout part (colors etc)?

P.S.
This is not an issue just for the scheduler, but every other control is dealing with the same "problems".

Stan

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 14 Apr 2011, 09:04 AM
Hello,

There is no best practice for migrating from one theme to other. Generally Office_Black, Office_Blue and Office_Silver are all color variations (for all telerik controls) which means only the SolidColorBrush, GradientColorBrush and some Thickness and ImageSource resources vary. You should be able easily change the color resources from one of these themes to the other. However Windows7 for example will expose different ControlTemplates and eventually different names for the color resources so changes will not be so easily exchanged.

The good news is RadScheduleView is relatively new control so all themes are color variations for it at that moment. However that may change in future. Also we does some development on it so you may have to upgrade your ControlTemplates with new releases in order to get the new features working. We avoid backward compatability issues as much as possible.

Greetings,
Pana
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
Tags
General Discussions
Asked by
stan0611
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or