At the moment my DataGrid shows the RowDetails when i click a row. But I want to show the RowDetails only on Double-click.
Any ideas for solving this problem?
e.g.
private void RowDoubleClick(object sender, RoutedEventArgs e) { var row = (DataGridRow)sender; row.DetailsVisibility = row.DetailsVisibility == Visibility.Collapsed ? Visibility.Visible : Visibility.Collapsed; }