private void FocusRow(DataGridRow row)
 {
     DataGridCell cell = row.FindDescendant<DataGridCell>();
     if (cell != null)
     {
         cell.Focus();
     }
 }