I have a XamDataGrid. I have key bindings set up for some of the functions I provide to my users:
KeyGesture clearCellGesture = new KeyGesture(Key.NumPad0, ModifierKeys.Control);KeyBinding clearCellBinding = new KeyBinding(ClearActiveCellCommand, clearCellGesture);viewGrid.InputBindings.Add(clearCellBinding);
The problem I'm having is that they don't work when a cell is in edit mode. How do I get them to run?
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thanks! I figured it out. I needed to use Key.D0 for the zero on the main keyboard.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.