Click here to Skip to main content
15,890,946 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I have a Data Grid with 3 textcolumns. As the user enters in data and presses enter key. I want the cell focus to move to the right cell instead of down .How can i do that in PreviewKeyDown event.

Thanks & Regards,
Monish.K.M
Posted
Comments
Thomas Duwe 10-Sep-12 5:44am    
see my answer here for the same question:
http://www.codeproject.com/Answers/455040/WPF-How-to-set-focus-to-next-cell-in-datagrid#answer1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900