Datagrid Row Hover effect with alternating rows

Jul 22, 2009 at 9:40 PM

Hi!

Is there a way to implement a row hover effect on a DataGrid when alternating rows are used?

My goal is to show the row under the mouse cursor in a slightly different color, when I hover over the DataGrid rows...

This is no problem, wenn alternating rows is not used. However when alternating rows are used, I don't know the color to be reverted to, when I leave the row.

Thanks.

Jus

 

Coordinator
Jul 22, 2009 at 10:10 PM

Hi Jus,

Check out this thread for an explanation and workaround: http://wpf.codeplex.com/WorkItem/View.aspx?WorkItemId=9314

Thanks!
Samantha