Hi there,
I have a command binding in my WPF form, it looks like this,
I also have a grid that is non editable, however pressing the enter key causes a red outline to form around the grid, I suspect that it is grabbing the enter key press and then complaining cause IsReadOnly="True",
How can I tell the grid to ignore any key presses? Or just the enter key... I will take either.
Thanks
I have a command binding in my WPF form, it looks like this,
<
UserControl.InputBindings
>
<
KeyBinding
Key
=
"Enter"
Command
=
"{Binding Path=AddSelectedProductTypeCommand}"
/>
</
UserControl.InputBindings
>
How can I tell the grid to ignore any key presses? Or just the enter key... I will take either.
Thanks