title: Only execute WPF MouseDoubleClick event when DataGrid row is clicked
body: <p>I have a DataGrid in WPF. When I double-click on a row, a query to a database should be executed.</p>
  
  <p>This DataGrid has horizontal and vertical scroll bars, and I notice that when I click quickly on the arrow button of one of the scroll bars, it sends the query to the database.</p>
  
  <p>The problem is that I am using the DataGrid's <code>MouseDoubleClick</code> event, so the scroll bars belong the the DataGrid, and when they are double-clicked, this event is raised.</p>
  
  <p>Is there any way to execute the double click event only when I double click on a row of the DataGrid and not when I double-click on part of the scroll bars?</p>