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