With Winforms' DataGridView
, one could use HitTest
to determine the column and row index of the mouse down (and other events).
Dim hti As DataGridView.HitTestInfo = sender.HitTest(e.X, e.Y)
Is there something similar with WPF's DataGrid
? I need to get the row and column indexes for the MouseLeftButtonDown
event.