In my current implementation, I spawn tabs and grids dynamically.
Basically, a new grid needs to be created by a double click on a any row of a previous grid and use the row data for other provessing.
this.AddHandler(DataGrid.MouseDoubleClickEvent, new RoutedEventHandler (Generic_DoubleClick));
This handles for any double click even outside the grid and not specifically for the grid.
I need to find a handler which can return the row values specifically to that grid. Please suggest a workaround or a easier way of doing this.
Thanks.