I have a datagrid in a Silverlight application. Clicking on the first line and then pressing the Enter key causes the selection to move to the next line. I do not want this behavior - the Enter key is used for completely different purposes on this screen.
I understand that this is part of the editing framework, but I need a way to disable it. I tried setting IsReadOnly to True (even if the control is not technically read-only), and this had no effect.
I am attached to a KeyDown event using a datagrid, but it does not fire when the Enter key is pressed. It works great for other keys.
I'm at a dead end. Thank you for your help.
source share