1
Answer

WPF-DataGrid- Press Enter key, go to next line

Ask a question
TAN WhoAMI

TAN WhoAMI

10y
4.2k
1
I want to implement this for DataGrid in WPF, not DataGridView, such that whenever an Enter key is pressed, it would go to the next line, is it possible?

I see similar solution in http://stackoverflow.com/questions/9674078/datagridview-when-i-press-enter-it-goes-to-the-next-cell, but it is for DataGridView.

How can I implement the same feature for my WPF DataGrid? thanks.

Answers (1)