<DataGrid.ItemContainerStyle>
<Style TargetType="DataGridRow" BasedOn="{StaticResource DefaultDataGridRowStyle}">
<EventSetter Event="MouseDoubleClick" Handler="DataGridRow_MouseDoubleClick"/>
</Style>
</DataGrid.ItemContainerStyle>
Adding this to a DataGrid did not work anymore after applying the modernwpf library