WPF: DataGrid Cell Double-click
- by Jonathan Allen
Is there a better way than this to determine the row a user double-clicked on in a data-grid?
Private Sub ResultsGrid_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Input.MouseButtonEventArgs)
Dim node As DependencyObject = CType(e.OriginalSource, DependencyObject)
Do Until TypeOf node Is…