Hello,
Is there a way to turn off keyboard navigation in the XamDataGrid for keys such as Tab and arrow keys?
Thank you,
David
Hi
I have an additional question. I would like to disable keyboard navigation partially. For example i would like to preserve navigation to previous/next record using up/down arrows, but I would like to add some custom action for Ctrl+Up/Ctrl+Down key shortcuts. I've found that CommandWrappers are created for both Shift and Ctrl key modifiers for most of the navigation commands in DataPresenterCommands class.
Regards
Marcin
Hello David,
Yes, you can do that by cancelling the ExecutingCommand event when the command is a navigation one, for example:
if(e.Command = DataPresenterCommands.CellNextByTab)
Hope this helps