Is there a way to add a DoubleClickEvent to each Row in xaml rather than using the event of the datagridcontrol?
Something like this (this code does not work):
    <UserControl
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
        xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras"
        xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" >
    <xcdg:UserControl.Resources>
            <Style TargetType="xcdg:DataRow">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="MouseDoubleClick">
                        <cmd:EventToCommand Command="{Binding SelectCommand, Mode=Default}" CommandParameter="{Binding SelectedItem, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type xcdg:DataGridControl}}}" />
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </Style>
    </xcdg:UserControl.Resources>
...