Hello,
I wonder how it would be possible to get the rowindex when hovering with the mouse over the rows in a datagrid. I use the MouseEnter event like below, which returns the messagebox which means that the event is working.
I wonder how to return the rowindex?
<data:DataGrid MouseEnter="TimezoneGrid_Hover" etc etc... private void TimezoneGrid_Hover(object sender, MouseEventArgs e) { //I wonder how to return the rowindex? MessageBox.Show(e.OriginalSource.ToString()); }