Programmatically Changing Themes

3 posts, 0 answers
  1. Frits Verhoef
    Frits Verhoef avatar
    3 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    Dear all,

    I'm having a slight problem with programmatically changing Themes (Office_Black, Summer, etc) for my RadControls. It works perfectly fine when doing it beforehand in xaml, and changing Themes at runtime works fine for all controls except the RadComboBox and the RadPanelBar controls- these simply don't ever change from the default Office_Black theme, while all other controls change theme just fine. Note that I have tried both using StyleManager.SetTheme() and instance.SetValue(StyleManager.ThemeProperty, theme), both of which yield the exact same result.

    Here is a small project that demonstrates this.

    Any thoughts on what I could be doing wrong would be much appreciated.

    Cheers,

    Frits Verhoef.
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 06 Aug 2009 Link to this post

    Hi Frits,

    We are aware of this problem, it was already fixed, the updated assemblies will be available in the upcoming service pack release next week. I apologize for the inconvenience.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Frits Verhoef
    Frits Verhoef avatar
    3 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    Thanks for the quick reply! I'm glad to hear it's been resolved and am looking forward to try next week's update.

    Regards,

    Frits.
Back to Top