I am applying a template and styles to a telerik RadGridView to adjust the colour of the filter icon when it is selected.
My problem is that I apply a style like this,
<telerik:GridViewDataColumn HeaderCellStyle="{StaticResource GridViewHeaderCellStyle}" ></telerik:GridViewDataColumn>
The style is generated by expression blend when I selected the option to generate template.
The problem is that I want to apply a theme like this,
Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Windows7Theme();
But then all of a sudden the style that expression blend generated doesn't match the theme. Is there a way to get the style as defined by the theme?
If I then remove parts of the style to only define the dropdown style like this (which means the rest of the header won't be changed and the theme will match the resulting style),
<Style TargetType="GridView:FilteringDropDown">
<Setter Property="Template" Value="{StaticResource DistinctFilterControlTemplate}"/>
</Style>
It works if the theme is off, it applies the template only to the filtering drop down, but if the theme is on then the style gets ignored.
My problem is that I apply a style like this,
<telerik:GridViewDataColumn HeaderCellStyle="{StaticResource GridViewHeaderCellStyle}" ></telerik:GridViewDataColumn>
The style is generated by expression blend when I selected the option to generate template.
The problem is that I want to apply a theme like this,
Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Windows7Theme();
But then all of a sudden the style that expression blend generated doesn't match the theme. Is there a way to get the style as defined by the theme?
If I then remove parts of the style to only define the dropdown style like this (which means the rest of the header won't be changed and the theme will match the resulting style),
<Style TargetType="GridView:FilteringDropDown">
<Setter Property="Template" Value="{StaticResource DistinctFilterControlTemplate}"/>
</Style>
It works if the theme is off, it applies the template only to the filtering drop down, but if the theme is on then the style gets ignored.