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

How to specify the theme of control template extracted using Blend

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yang
Top achievements
Rank 1
Yang asked on 22 Jul 2015, 12:49 PM

Hi team,

As it's known to most telerik users, we can use Blend to extract the style for each Rad control. And i notice it seems to be with Office black theme. What if i want to extract the style with other themes such as Windows 8? i don't want to go through all files under Themes.Implicit\WPF40\Windows8\Themes. And one of painpoint of using the latter way is for a complex control, i need to scan the whole file to get the whole style of it. So any thoughts?

 

Yang

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 24 Jul 2015, 03:45 PM
Hello Yang,

When using implicit styles, you can extract template relevant for the theme that you use. However you need to merge its resources in the App.xaml first. Please find attached a sample project which you can try in Blend. Just add the needed references of
  • Telerik.Windows.Controls.dll
  • Telerik.Windows.Themes.Windows8.dll
The already extracted template there is the one that we use in the Windows8 theme.

Regards, Sia
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
Tags
General Discussions
Asked by
Yang
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or