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,
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.
Thanks! I figured it out. I needed to use Key.D0 for the zero on the main keyboard.
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it, but I wasn’t able to reproduce your behavior, so I created a sample project for you with the functionality you want. I used the ApplicationCommands’ Close command. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.