WPF RadGridView Alternating Row Background not working

2 posts, 0 answers
  1. Dimitar
    Dimitar avatar
    3 posts
    Member since:
    Aug 2014

    Posted 05 Aug 2014 Link to this post

    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. 
  2. Yoan
    Admin
    Yoan avatar
    1068 posts

    Posted 06 Aug 2014 Link to this post

    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.
     
  3. DevCraft banner
Back to Top