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

How to grap Metro control templates in Expression Blend

2 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 09 Nov 2011, 09:19 PM
I know this thread and this documentation and my controls show up in Blend's design view in the Metro look. However, when I am trying to grab a copy of a control template via blend, I don't get the Metro stuff (compared it with the delivered Metro sources) but some other theme's stuff. I applied the Metro theme as an application theme in a class created from app.xaml, in the constructor of the user control I'm editing (before InitializeComponent()) and at the control level. But none of the three approches worked. Blend always grabs non-Metro sources. This freaked me out multiple times now. So I hope anybody can help me this time...

Thank you,
Stephan

Edit: Sorry for the typo in the header. I meant "grab".

2 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 10 Nov 2011, 09:59 AM
Hello Stephan,

At present Expression Blend will always generate the default Office Black theme when you try to edit the control template of any of RadControls.

Applying a theme will only be reflected on the design surface and the generated XAML will still have the Office Black theme as its source.

If you need to modify any other theme resource, you can do that by taking the resources from the RadControls installation folder on your machine.  Inside that folder you will find the Themes folder which contains all themes resources. Just drill down to the *.xaml file that corresponds to your control and theme of choice and include those resources in your project.

I hope this helps. If you have difficulties finding resources, please submit a request to our support team, we are ready to assist you.

Best wishes,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Marc
Top achievements
Rank 1
answered on 10 Nov 2011, 10:04 AM
Damn, I hoped you had another answer. But it seems I have to extract and edit (WPF conditionals) the stuff myself. :-(

Thank you anyway.
Tags
General Discussions
Asked by
Marc
Top achievements
Rank 1
Answers by
Dani
Telerik team
Marc
Top achievements
Rank 1
Share this question
or