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

[WPF] RadGridView - "zebra" effect

5 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
LaZeTo
Top achievements
Rank 1
LaZeTo asked on 10 May 2012, 11:37 AM
In our project, we have to achieve the "zebra" effect for the rows of the grid. This effect means that odd rows are one color (e.g. Red) and the even rows are other color (e.g. Blue). For WinForms I found the solution (http://www.telerik.com/community/forums/winforms/themes-and-visual-style-builder/radgridview-row-color.aspx) but I think for WPF it cannot be done in the same way, because EnableAlternatingRowColor  is missing. Can you give me a solution?

Best Regards,
Lazar Sestrimski

5 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 10 May 2012, 11:43 AM
Hi,

You can use the RowStyle and AlternateRowStyle props.

Regards,
Ross
the Telerik team

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

0
LaZeTo
Top achievements
Rank 1
answered on 10 May 2012, 12:32 PM
Can you give me a simple example?
0
Rossen Hristov
Telerik team
answered on 10 May 2012, 12:36 PM
Hello,

Here.

Greetings,
Ross
the Telerik team

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

0
LaZeTo
Top achievements
Rank 1
answered on 10 May 2012, 12:44 PM
I will try to learn WPF from this link but probably later...
I need a example with your Telerik Rad Grid View stylized with 'zebra effect'?
0
LaZeTo
Top achievements
Rank 1
answered on 11 May 2012, 08:28 AM
Will someone try to help me or I have to summit a ticket?
Tags
GridView
Asked by
LaZeTo
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
LaZeTo
Top achievements
Rank 1
Share this question
or