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

selected-cell color

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jerry
Top achievements
Rank 1
Jerry asked on 29 Jul 2013, 06:15 AM
Hi there,


I'm rather new to SL styling. Can you show me one example of how to change selected cell color? It's kind of works when I set the selection unit to cell, but doesn't seem to apply the template when the selection unit is row.


Any idea?


regards
Jerry

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Jul 2013, 08:22 AM
Hi Jerry,


As you have probably noticed you may modify the selection of a GridViewCell through modifying
its template and alter the appearance of the Border element named Background_Selected.  Indeed the appearance of the modified GridViewCell will appear only when you set the SelectionUnit property of RadGridView to Cell. When you set this property to FullRow (the default setting) you will see the selection of GridViewRow, not the one of GridViewCell.     


Hope this helps!


Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Jerry
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or