Esempio n. 1
0
 public void SetFocusOnCell()
 {
     // DataView.CurrentCell = new DataGridCellInfo(DataView.Items[CurrentRow], DataView.Columns[CurrentCol]);
     //DataGridCellInfo dataGridCellInfo = new DataGridCellInfo(DataView.Items[CurrentRow], DataView.Columns[CurrentCol]);
     //DataView.SelectedCells.Clear();
     //DataView.SelectedCells.Add(dataGridCellInfo);
     //In case of more columns
     DataView.Focus();
     DataView.CurrentCell = new DataGridCellInfo(DataView.Items[CurrentRow], DataView.Columns[CurrentCol]);
 }