WPF. How to get the row that the mouse pointer is currently over in a GridControll?

368 views Asked by At

I have found this link. This link explains how to get row over mouse pointer in GridView but I have not found anything about how to do this for GridControl.

Is there any ideas?

1

There are 1 answers

0
Brendon On

You would use a similar method for the WPF GridControl. A GridControl is just a container for Views so using the views.CalcHitInfo method will tell you the row index and additional information about the area under the cursor.

See: Hit Information