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

Where can I find the FocusVisualStyle used by RadGridView?

2 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 08 May 2012, 01:50 AM
I've got a custom style for my RadGridView in my WPF application.  Before I started editing the style, I remember that the RadGridView used to show the selected row by changing the background color (I think). After editing the style, my control isn't doing this any more.

Can you point me to the style, or provide it in a response to this thread?

Thanks

Tony

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 May 2012, 06:48 AM
Hello,

 The state responsible for the selection is part of GridViewRow template. You can use Blend to check this. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Tony
Top achievements
Rank 1
answered on 05 Jun 2012, 06:21 PM
Vlad:

OK, I found the template for the GridViewRow.  However, the code I see sets the border color, not the background of the row.

I want the foreground and background colors of a selected row in the grid to change.  Can you tell me or show me how to do that?  Some sample code would be helpful.

Tony
Tags
GridView
Asked by
Tony
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Tony
Top achievements
Rank 1
Share this question
or