How can I apply any of built in application theme (for example Windows7) to my application to see it on design time for example in blend.
Now I am using this:
StyleManager.ApplicationTheme = new Windows7Theme();
And it is working on run time but of course not in designer.
1 Answer, 1 is accepted
0
Vanya Pavlova
Telerik team
answered on 02 May 2012, 09:17 AM
Hello Konrad,
The application wide theme setting is evaluated at runtime. In WPF if you want to have design-time support for a particular theme you should set it in XAML at an element level to achieve your goal. In Silverlight is possible to define the application theme in XAML, however in WPF is not. By that reason I recommend you to use the approach proposed above.
Greetings,
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>