Best practice for handling custom themes?

2 posts, 0 answers
  1. stan0611
    stan0611 avatar
    33 posts
    Member since:
    Jun 2006

    Posted 11 Apr 2011 Link to this post

    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)?

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

  2. Pana
    Pana avatar
    748 posts

    Posted 14 Apr 2011 Link to this post


    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.

    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
Back to Top