Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

How to get rowindex on MouseEnter in datagrid

$
0
0

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());
        }


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>