DataGrid Mouse Hover
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
I am using a datgrid in my application. I want to highlight a full row, whenever mouse is moved on the row. Any solution. Thanks Sumit Domyan
-
I am using a datgrid in my application. I want to highlight a full row, whenever mouse is moved on the row. Any solution. Thanks Sumit Domyan
You have to handle the MouseMove event and call the HitTest function of the DataGrid with the current mouse position. It will return you an object where you can access the Row at the specified position. With the Select function of the grid you can highlight this row (dont forget to unhighlight the previous row with Unselect).