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

Theming controls with a Style in Blend

4 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam Love
Top achievements
Rank 1
Adam Love asked on 10 Jul 2010, 08:20 PM
I'm trying to set a global theme for either Telerik controls or non-telerik controls in xaml using a style.  This works in Visual Studio, but not in Blend.  I get the error:  'Office_Blue' is not a valid value for the 'Telerik:Windows.Controls.StyleManager.Theme' property on a Setter.

I am using RadControls for WPF Q1 2010 SP2 (version 2010.1.0603) on Windows 7 x64.  Here is the xaml:

<Style TargetType="telerik:RadGridView">
 <Setter Property="telerik:StyleManager.Theme" Value="Office_Blue" />
</Style>

4 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 12 Jul 2010, 07:32 AM
Hello Adam Love,

What is the version of Blend you are using? I've just tried with version 3 and 4 and everything worked as expected.

All the best,
Veskoni
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
Adam Love
Top achievements
Rank 1
answered on 02 Aug 2010, 09:56 PM
I am using Blend 4.0.  I was trying to design with the Telerik controls in my current project that I started from Visual Studio.  If I take out the style with the theme, the UI loads in Blend, but controls like the RadGridView have no visual.  I'm still trying to figure out the pattern that causes this.
0
Veselin Vasilev
Telerik team
answered on 04 Aug 2010, 12:39 PM
Hello Adam,

The attached sample project opens up just fine in Blend 4.0 and it runs as expected.
Do you reproduce the problem there?

Greetings,
Veskoni
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
Adam Love
Top achievements
Rank 1
answered on 04 Aug 2010, 03:13 PM
I recently upgraded to the latest internal build and it is now working in Blend.  Not sure if there was something strange about the references that was fixed when I re-did them (since I used a different path previously) or the build fixed the problem.  Either way, it works now!  Thanks!
Tags
General Discussions
Asked by
Adam Love
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Adam Love
Top achievements
Rank 1
Share this question
or