I'm using XamDatagrid from Infragistics and I need to raise MouseRightButtonClick event programmatically(when user press the button).
I have following XAML markup:
        <igDP:XamDataGrid>
           <igDP:XamDataGrid.Resources>
                <igDP:XamDataGrid.Resources>
                <!-- Record Context Menu -->
                <ContextMenu x:Key="OrdersGridContextMenu">
                    <MenuItem Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type igDP:XamDataGrid}}, Path=DataContext.DoubleClickItemCommand}" 
                              Header="Open"
                              CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ContextMenu}},Path=PlacementTarget}"/>
                </ContextMenu>
            </igDP:XamDataGrid.Resources>
        </igDP:XamDataGrid>
So, I need to show context menu (raise rightClick event on grid) programmatically. Maybe someone can provide any solution with XamDataGrid or simple DataGrid?
