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

styling for radgridview

1 Answer 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
anurag
Top achievements
Rank 1
anurag asked on 23 Nov 2010, 06:20 PM
Hi,
 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.

Thanks

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 25 Nov 2010, 01:30 PM
Hi Anurag,


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.


You can download sample project from here.


Regards,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
anurag
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or