Define an EventSetter
in the DataGrid.RowStyle
to call a handler that prevents the row from being brought into view:
XAML
<DataGrid>
<DataGrid.RowStyle>
<Style TargetType="{x:Type DataGridRow}">
<EventSetter Event="Control.RequestBringIntoView" Handler="DataGrid_Documents_RequestBringIntoView" />
</Style>
</DataGrid.RowStyle>
</DataGrid>
Handler
private void DataGrid_Documents_RequestBringIntoView(object sender, RequestBringIntoViewEventArgs e)
{
e.Handled = true;
}