I have a problem managing datagrid in wpf. when I press the enter button, I want to load the selected elements into a set of controls, but it seems that datagrid.KeyDown has already been processed, and it moves on to the next element.
I tried using keyup, but this event is fired when the datagrid keydown is triggered and the datagrid moves on to the next element.
any idea to handle keydown completely?
source share