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

Change color on selected row, Windows8 theme

3 Answers 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kennet
Top achievements
Rank 2
Kennet asked on 27 Sep 2013, 02:28 PM
Hi,

How do I change the color of my selected row? I use Windows8 theme. I spent lots of time searching without any luck...

Please help me.

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 27 Sep 2013, 04:37 PM
Hi Kennet,

If you want to modify the appearance of the selected row, you can predefine its template. There you should modify the Border element named Background_Selected in the way you need. I can suggest you to check this help article for a reference. If you cannot extract the template of the GridViewRow with MS Blend, then you can find it locally inside the Themes folder, the full path would be something like so:
C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2013\Themes\Windows8\Themes\Telerik.Windows.Controls.GridView.xaml. Inside the xaml file you will find all the control templates. 


Regards,
Yoan
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 >>
0
Kennet
Top achievements
Rank 2
answered on 27 Sep 2013, 05:08 PM
Hi,

Can you please provide me with a code example? I don't have access to Blend.

Thanks!
0
Yoan
Telerik team
answered on 30 Sep 2013, 03:41 PM
Hi Kennet,

Actually, you can find the template locally, inside the Themes folder, the full path would be something like so: C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2013\Themes\Windows8\Themes\Telerik.Windows.Controls.GridView.xaml. Inside the xaml file you will find all the control templates. However, I have attached a sample project showing you the approach.

Regards,
Yoan
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
Kennet
Top achievements
Rank 2
Answers by
Yoan
Telerik team
Kennet
Top achievements
Rank 2
Share this question
or