Can you let me know how can we change the default style for radgridview in wpf.Like how can i apply custom alternate row color style and selected row style.
1 Answer, 1 is accepted
answered on 25 Nov 2010, 01:30 PM
The default styles used in RadGridView can be overridden based on your custom requirements. Generally they can be overridden through creating a simple style targeted at the corresponding part, or to edit the template in order to meet any special requirements. The alternate row appearance can be changed through properties as AlternateRowBackground and AlternationCount exposed by RadGridView. If you want to change the default background when a GridViewRow is selected you should change the border element named Background_Selected within GridViewRow's template. I believe that the following section in our online documentation would be helpful for you on that matter Styling and Appearance.