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

RadGridView Find Selection Background Color

2 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 14 Jul 2016, 12:39 AM
I have not customised the selection background color of the RadGridView.  Nor do I need to.  I just need to programatically find out what the selection background color of the grid actually is.

2 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 15 Jul 2016, 12:29 AM
Though I have not found a solution to this problem, I no longer need to know.  So can the post be deleted please (unless anyone else is interested)?
0
Stefan Nenchev
Telerik team
answered on 18 Jul 2016, 12:02 PM
Hi Simon,

As per the Implicit Styles article in our documentation, you can find the XAML files in the local installation of the Telerik controls. The folder Themes contains the different resources for the different themes that you can use in your application. You can have a look at the Template of the GridViewRow element for the theme that you have set. There is a certain border that is applied to the selected item and respectively you can track down the brush that is applied to this specific state.

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Stefan Nenchev
Telerik team
Share this question
or