Search code examples
.netwpfsilverlightsilverlight-toolkit

Silverlight toolkit datagrid mouse over problem


I have datagrid and noticed strange bug:

I set HeadersVisibility="All". And when move mouse from row header to right (to first cell(row) in grid) you will notice that row mouseover state will not be fired.

How can i change this behavior?


Solution

  • you need to listen on the cell's "mouseOver" and then determine the row to which it belongs.

    see this question for more details :

    Silverlight 3 Datagrid: Get row/item on MouseOver