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

GridView style

3 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 16 May 2011, 08:22 AM
This question is simple (i hope). How to change GridView style WITHOUT Blend? I have my own style to gridview and i want to apply him to radgridview - question how do this in VS 2010? I read much topics and always you say "do this in Blend"...

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 16 May 2011, 08:40 AM
Hi Marcin,

 

The recommended approach in WPF/Silverlight is to use Expression Blend. For clients who do not use Blend we ship our themes as separate projects and you may get them from the Themes folder of your personal installation. You may copy the xaml for the desired style in Visual Studio and change it in the way you need.

  

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
0
Marcin
Top achievements
Rank 1
answered on 16 May 2011, 09:15 AM
ok so - i read http://www.telerik.com/help/wpf/common-styling-apperance-setting-theme-wpf.html
and i want to change my radgridview theme, but what dlls should i add if i want to use Style Manager?
If i use

 

 

 

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"

And

 

 

 

 

 

<telerik:RadGridView telerik:StyleManager.Theme="Vista" />

 


I got error
Error 2 The attachable property 'Theme' was not found in type 'StyleManager'.

0
Vlad
Telerik team
answered on 16 May 2011, 09:17 AM
Hello,

 The style manager is part of our Telerik.Windows.Controls assembly. You can use also our URI namespace to avoid such problems in the future:
"xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

Kind regards,
Vlad
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
GridView
Asked by
Marcin
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Marcin
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or