Theme switching

4 posts, 0 answers
  1. Akram
    Akram avatar
    45 posts
    Member since:
    Dec 2012

    Posted 22 Dec 2012 Link to this post

    Hi 
    I know how to switch themes but the strange thing that the already opened windows does not affected by this line
    StyleManager.ApplicationTheme = new Windows8Theme();

    Is that true that i can't change the theme for the already opened windows?

    Thanks,
    Akram
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Dec 2012 Link to this post

    Hello Akram,

    I would recommend you to run through this article for a reference on how to change themes run time. In this case you will need to work with Binaries.NoXaml. However, if you are working with StyleManager and the regular binaries, you will need to reload the control you want to change the theme of.   

    Greetings,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Akram
    Akram avatar
    45 posts
    Member since:
    Dec 2012

    Posted 24 Dec 2012 Link to this post

    Hi
    i hope there is a simple way to do that without reloading the controls, why not telerik controls have a method to change the theme for the whole control and all there children  at once.

    Thanks,
    Akram
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Dec 2012 Link to this post

    Hello Akram,

    Telerik does provide an easy way for switching the theme and it is the one illustrated in the article I mentioned above.  

    Greetings,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top