Hi,
I want to change theme for the entire wpf application. I am using RadControls for WPF Q3 2012. When use (in MainWindow.xaml.cs)
Compiler gives,
Error 1 The name 'StyleManager' does not exist in the current context.
Error 2 The type or namespace name 'VistaTheme' could not be found (are you missing a using directive or an assembly reference?)
I notice that the Telerik.Windows.Themes.Vista.dll is not added. However Telerik.Windows.Themes.Vista.dll can not be found (it is not in Binaries directory). I need help on this. Thanks.
York
I want to change theme for the entire wpf application. I am using RadControls for WPF Q3 2012. When use (in MainWindow.xaml.cs)
StyleManager.ApplicationTheme = new VistaTheme();
Error 1 The name 'StyleManager' does not exist in the current context.
Error 2 The type or namespace name 'VistaTheme' could not be found (are you missing a using directive or an assembly reference?)
I notice that the Telerik.Windows.Themes.Vista.dll is not added. However Telerik.Windows.Themes.Vista.dll can not be found (it is not in Binaries directory). I need help on this. Thanks.
York
5 Answers, 1 is accepted
0
york
Top achievements
Rank 1
answered on 07 Jan 2013, 08:17 AM
This is solved.
0
Cosmin
Top achievements
Rank 1
answered on 06 Sep 2013, 08:50 AM
How was this issue solved?
0
Tony
Top achievements
Rank 1
answered on 08 Jul 2015, 09:43 AM
What the **** is the point of just saying that the problem is solved without putting the solution!?
0
york
Top achievements
Rank 1
answered on 10 Jul 2015, 06:00 AM
The post is for long time ago and I forget the solution. If you have same problem, please post a question again.
0
Hi,
I would suggest you using Implicit Styles instead of StyleManager. You can check this help article on Implicit Styles and article on Switching Themes at Runtime for a reference.
Regards,
Dimitrina
Telerik
I would suggest you using Implicit Styles instead of StyleManager. You can check this help article on Implicit Styles and article on Switching Themes at Runtime for a reference.
Regards,
Dimitrina
Telerik
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 Feedback Portal
and vote to affect the priority of the items