Datagridview - navigation problem

Posted by Sarithapraveen under C# on 7/17/2013 | Points: 10 | Views : 1894 | Status : [Member] | Replies : 1
I have a WPF application. I face a situation to add a windows form which contains a datagridview. I want to move focus to next cell in datagridview on pressing the enter key. In a windows application it is working using the ProcessDialogKey. But it is not working in WPF application




Responses

Posted by: Bandi on: 7/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi Sarithapraveen,
I found the following solution for you...
http://stackoverflow.com/questions/10404681/move-focus-to-next-cell-on-enter-key-press-in-wpf-datagrid
Please check the logic behind the code

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sarithapraveen, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response