Я хочу иметь пользовательский DataGrid, который может,
- Переход к следующей ячейке при нажатии клавиши Enter также, если она находится в режиме редактирования.
- Когда последний столбец в текущей строке достигнут, фокус должен перейти в первую ячейку следующей строки.
- При достижении следующей ячейки, если ячейка редактируема, она должна автоматически стать редактируемой.
- Если ячейка содержит
ComboBox
не comboboxcolumn, то combobox должен DropDownOpen.
Пожалуйста, помогите мне в этом. Я пытался с последних дней создать пользовательский DataGrid и написал код в
protected override void OnPreviewKeyDown(System.Windows.Input.KeyEventArgs e)
Но я потерпел неудачу.