This is a migrated thread and some comments may be shown as answers.

How to identify the row the mouse is over?

1 Answer 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ari
Top achievements
Rank 1
Ari asked on 28 Jan 2013, 06:35 PM
When the mouse moves over a row in a RadGridView I have to set some fields on the supporting viewmodel object so that visual objects in a different control using the same viewmodel are highlighted.

Is this doable with our current version of Telerik.Windows.Controls (2012.2.0725.40)?

Thanks,

Ari

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 30 Jan 2013, 03:47 PM
Hi Ari,

You can subscribe to the MouseMouve event for the GridView with HandledEventsToo set to true, and use the OriginalSource property in the EventArgs to determine the Row that you are currently hovering.

Hope this helps! 

Regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Ari
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or