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

WPF RadGridView Alternating Row Background not working

1 Answer 166 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dimitar
Top achievements
Rank 1
Dimitar asked on 05 Aug 2014, 07:32 PM
I am trying a simple example of a WPF RadGridView and can't get the alternating row background to work here is my code:
<Grid>
       <Grid.ColumnDefinitions>
           <ColumnDefinition Width="312*"/>
           <ColumnDefinition Width="205*"/>
       </Grid.ColumnDefinitions>
       <telerik:RadGridView ItemsSource="{Binding Path=MyItems}" AlternateRowBackground="Black" AlternationCount="2">
       </telerik:RadGridView>
   </Grid>

Can someone tell me what I am missing?
Attached is a screenshot with what the output of this looks like. 

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 06 Aug 2014, 01:20 PM
Hi Dimitar,

I've tried to reproduce the problem you report, but to no avail. You can check the attached project  which illustrates my attempt. Please note that, I am using our latest official version - 2014.2.0729. May I ask you to test with our latest version? Do you have some custom styles applied to RadGridView?

It will be great if you can modify the sample project in order to reproduce the issue and resend it back to me for further investigation.

Regards,
Yoan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Dimitar
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or