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

How do I get/edit a copy of RadPaneGroup Windows7 themed template?

3 Answers 58 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ClausDC
Top achievements
Rank 1
Iron
ClausDC asked on 22 Nov 2010, 11:15 AM
I want to edit the RadPaneGroup Windows7 template.

When I use the "Edit Template... -> Edit a Copy" method in Expression Blend, I always get a copy of the "Office_BlackTheme" template, even If I use StyleManager.Theme="Windows7" for the RadPaneGroup in XAML.

How do I get the Windows7 template?

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 22 Nov 2010, 03:32 PM
Hello,

You could find the themes in the Themes project you have downloaded. You could compile it and get the compiled xaml file for the RadDocking control. This file is located in the Windows7/Themes directory of the project. 

I hope this helps.

Kind regards,
George
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
ClausDC
Top achievements
Rank 1
Iron
answered on 22 Nov 2010, 05:01 PM
But I need the uncompiled XAML sources.

That's why I went with the "Edit Template... -> Edit a Copy" method in Expression Blend.

I'm a bit lost in the Themes project you mentioned me downloading. I cannot find the explicit XAML code for the RadPaneGroup Windows7 template.

I should mention that I can get the Windows7 themed XAML Templates of other RadDocking elements, only the RadPaneGroup always keeps the Office theme (I can even see that this is the case in the design view of Expression Blend) at design time (at run time, it uses the correct applied theme), even if I set StyleManager.Theme="Windows7" as I wrote earlier.
0
Pana
Telerik team
answered on 24 Nov 2010, 02:06 PM
Hello,

I am attaching the docking's Windows7 themes. You have to remove the:

x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme , ElementType={x:Type ... }}"

from the styles and they will apply as implicit styles. You can add the file as merged ResourceDictionary in your App.xaml so you will have all the styles there ready to edit in blend.

As you described your problem the RadPaneGroup may have some issues with the design time in blend. We will try to address soon. 

Kind regards,
Pana
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
Docking
Asked by
ClausDC
Top achievements
Rank 1
Iron
Answers by
George
Telerik team
ClausDC
Top achievements
Rank 1
Iron
Pana
Telerik team
Share this question
or