title: C# WPF Handling double click events from multiple, dynamically generate datagrids through a single handler
body: <p>In my current implementation, I spawn tabs and grids dynamically. </p>
  
  <p>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. </p>
  
  <pre><code>this.AddHandler(DataGrid.MouseDoubleClickEvent, new RoutedEventHandler    (Generic_DoubleClick));    
  </code></pre>
  
  <p>This handles for any double click even outside the grid and not specifically for the grid. </p>
  
  <p>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.</p>
  
  <p>Thanks.</p>