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

issue in creating theme

3 Answers 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kumar p
Top achievements
Rank 1
kumar p asked on 09 Jun 2010, 11:15 AM

hi,
i  have created an class library  with theme  folder  under the  theme  folder i have an  file name  called  Telerik.Windows.Controls.GridView.xaml
under the  file i have  this  content

<

 

 

ResourceDictionary

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

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

 

xmlns

 

 

:grid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView">

 

 

<

 

 

telerik:Office_BlueTheme x:Key="Theme" />

 

 

 

 

<Style x:Key="DataGridColumnHeaderStyle1" TargetType ="grid:DataGridColumnHeader">

 

 

 

 

<Setter Property="Foreground" Value="#FF000000"/>

 

 

 

 

<Setter Property="HorizontalContentAlignment" Value="Left"/>

 

 

 

 

<Setter Property="VerticalContentAlignment" Value="Center"/>

 

 

 

 

<Setter Property="IsTabStop" Value="False"/>

 

 

 

 

<Setter Property="SeparatorBrush" Value="#FFC9CACA"/>

 

 

 

 

<Setter Property="Padding" Value="4"/>

 

 

 

 

<Setter Property="Template">

 

 

 

 

<Setter.Value>

 

 

 

 

<ControlTemplate TargetType="grid:DataGridColumnHeader">

 



 

 

 

</ControlTemplate>

 

 

 

 

</Setter.Value>

 

 

 

 

</Setter>

 

 

 

 

</Style>

 

</

 

 

ResourceDictionary>

// here i am getting an error TargetType ="grid:DataGridColumnHeader">
   grid:DataGridColumnHeader was not  found

 

  any solution onthis  would eb great
 thank  you

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Jun 2010, 12:16 PM
Hello,

 There is no such class in RadGridVew! This is related to Silverlight DataGrid.

All the best,
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.
0
kumar p
Top achievements
Rank 1
answered on 09 Jun 2010, 12:54 PM
thanks  for teh replay
    would   you please tell the  equivalent  keyword  what  to use in telerik  gridview  
0
Vlad
Telerik team
answered on 09 Jun 2010, 01:13 PM
Hello,

 I strongly suggest you to use Blend to style RadGridView instead trying to adapt styles from completely different component! 

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
kumar p
Top achievements
Rank 1
Answers by
Vlad
Telerik team
kumar p
Top achievements
Rank 1
Share this question
or