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

Theme switching

3 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Akram
Top achievements
Rank 1
Akram asked on 22 Dec 2012, 03:44 PM
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

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 24 Dec 2012, 07:58 AM
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.

0
Akram
Top achievements
Rank 1
answered on 24 Dec 2012, 09:08 AM
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
0
Maya
Telerik team
answered on 24 Dec 2012, 09:23 AM
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.

Tags
General Discussions
Asked by
Akram
Top achievements
Rank 1
Answers by
Maya
Telerik team
Akram
Top achievements
Rank 1
Share this question
or