title: changing the focus to next cell using xeed datagrid in c#
body: <p>I am new to C sharp programming. I need to make a change in our project. Basically we are using Xeed datagrid, which has 4 columns. Data is bound with the collection object and was updated dynamically with DB call. My question is out of 4 columns, 1 column is editable. when user make a change in this column and hit enter, the focus needs to change to below cell in the same column in the edit mode. Following is the KeyUp event I am writting. After I make change this columna nd hit enter the focus is going to next row, but the edit mode is not going to next cell, but instead stays on the same cell which was eddited.</p>
  
  <pre><code>private void _dataGrid_KeyUp(object sender, System.Windows.Input.KeyEventArgs e)
  {
      if (e.Key == Key.Enter)
      {
      _dataGrid.EndEdit();
      int currentRow = _dataGrid.SelectedIndex;
      currentRow++;
      _dataGrid.SelectedIndex = currentRow;
      _dataGrid.Focus() ;
      _dataGrid.BeginEdit();
      }
  }
  </code></pre>