How to identify the row the mouse is over?

2 posts, 0 answers
  1. Ari
    Ari avatar
    1 posts
    Member since:
    Apr 2012

    Posted 28 Jan 2013 Link to this post

    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
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 30 Jan 2013 Link to this post

    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.

Back to Top