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

[Solved] Changing the Ascending/Descending Visual state applied background color

2 Answers 207 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Milind Soman
Top achievements
Rank 1
Milind Soman asked on 22 Jul 2011, 07:55 AM
Hello Everyone, thanks in advance for your time & efforts.

In Office Black theme: When Filter is applied to a column the filter icon changes to orange color. When column is sorted (ascending or descending) the background also changes to orange shades. The contrast between the background orange shades & the Filter orange color is very low. Hence I want to change either applied filter color from orange to black OR change the sorted column background to silver shades so that orange filter icon is visible properly.

I have already seen below posts & those are not helping me:
http://www.telerik.com/community/forums/silverlight/gridview/changing-filter-icon.aspx
http://www.telerik.com/community/forums/silverlight/gridview/changing-filter-icon-in-2009-q3.aspx - I am not able to find 'GridViewHeaderCell' to change it. Can someone tell me steps to do so.

I am using trail version 'RadControls for Silverlight Q1 2011 SP1 Demos'.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Ivanov
Telerik team
answered on 22 Jul 2011, 01:42 PM
Hi Milind Soman,

I have prepared a sample project for you, extracting GridViewHeaderCell's template and resources, giving you the opportunity to design the solution that meets your requirements yourself. In order to achieve your task you should only modify these brushes: "GridView_HeaderBackground_ Selected",  "GridView_ HeaderOuterBorder_Selected", "GridView_HeaderInnerBorderSelected" and "GridView_HeaderForeground_Selected".

Kind regards,
Ivan Ivanov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Milind Soman
Top achievements
Rank 1
answered on 25 Jul 2011, 06:37 AM
Thanks a lot Ivan Ivanov, for the sample project. I was able to achieve what was required.
Tags
GridView
Asked by
Milind Soman
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Milind Soman
Top achievements
Rank 1
Share this question
or