title: Set focus to NewItemRow after row inserted from a NewItemRow
body: <p>I'm using the DevExpress XPF <code>GridControl</code>'s <code>NewItemRow</code> for inserting data to my database. </p>
  
  <p>When I press enter in the last cell it enters the data and returns to the top row of the grid.</p>
  
  <p>What I would like it to do is return to the <code>NewItemRow</code> so the user can start inserting the new record without needing to reselect the <code>NewItemRow</code> row.</p>
  
  <p>How i could set focus to NewItemRow after row inserted from a NewItemRow?</p>
  
  <p>ps: I'm asking here rather than the DevExpress forums as here gets a much quicker response :)</p>
  
  <p>EDIT:</p>
  
  <p>Here is some code I have tried but it had exactly the same result:</p>
  
  <pre><code>void MVVMFriendlyDxgTableView_RowUpdated(object sender, DevExpress.Xpf.Grid.RowEventArgs e)
  {
    if (RowUpdatedCommand != null)
    {
      if (e.Row != null)
      {
        if (RowUpdatedCommand.CanExecute(e.Row))
        {
          RowUpdatedCommand.Execute(e.Row);
          if (e.RowHandle == GridControl.NewItemRowHandle)
          {
              Dispatcher.BeginInvoke(new Action(() =&gt;
              {
                  SelectRow(GridControl.NewItemRowHandle);
              }));
              e.Handled = true;
          }
        }
      }
    }
  }
  </code></pre>