You can use the DataGrid's double-click event and its HitTest method to catch a double click on a header.