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

Selecting theme used by designer

3 Answers 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike Henders
Top achievements
Rank 1
Mike Henders asked on 05 Nov 2010, 02:58 AM
I'm using the Windows 7 Theme for my WPF controls with the following code:

public Shell() {
  InitializeComponent();
 
  Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Windows7Theme();
}

The controls use the theme as expected at runtime.  However, when viewing the controls at design-time in Expression or Visual Studio they show up with the default (Office Black?) theme.  How do I select WIndows 7 (or any other theme) at design time?

Cheers,
Mike

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 09 Nov 2010, 05:29 PM
Hi Mike,


Unfortunately there is no easy way you can achieve this result, I recommend you to see this following thread and you will get the information you need. In addition to this with our upcoming Q3 release you will be able to get the xaml files for these themes.


Greetings,
Vanya Pavlova
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Mike Henders
Top achievements
Rank 1
answered on 10 Nov 2010, 06:25 PM
Vanya,

I just got the email about Q3 being released.  Is there a "How To" in the Q3 WPF documentation showing how to use the theme in XAML instead of the StyleManager?

Cheers,
Mike
0
Vanya Pavlova
Telerik team
answered on 11 Nov 2010, 04:22 PM
Hello Mike,


In our online documentation we have an articles that might be helpful for you in Styling and Appearance section. Please not that the following link provides an information about our Silverlight controls, but you can use the same approach in WPF using Q3.


All the best,
Vanya Pavlova
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mike Henders
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Mike Henders
Top achievements
Rank 1
Share this question
or