PROBLEM
We have a masked editor that we want to fire a command when Ctrl-Del is pressed.
If I focus on the masked editor and THEN select all the text in it, the Ctrl-Del command will fire.
If I just click in the masked editor, the Ctrl-Del command will NOT fire.
Anyone experience this?
Hello,
Can you tell which version of the WPF product you are using(it looks like this - 14.1.1015)?
I've tested the Ctrl+Del command, and it's seem okay on my side.
Looking forward for your reply.
Best regards,
Anastas
2013.1
Try to set the KeyBinding only to the xamMaskedEditor.
<ig:XamMaskedEditor.InputBindings> <KeyBinding Modifiers="Control" Key="Delete" Command="ApplicationCommands.Paste" ></KeyBinding> </ig:XamMaskedEditor.InputBindings>
The command ApplicationCommands.Paste is just a sample(remove it with your custom command).
Hope this helps you.
I've tried adjusting some properties and so far what I get is:
If the xamMaskedEditor has focus, but is not in edit mode, Ctrl-Del will fire my command.
If the xamMaskedEditor has focus, and is in edit mode with all text selected, Ctrl-Del will fire my command.
If the xamMaskedEditor has focus, and is in edit mode with no selected text, Ctrl-Del will delete all characters to the right of the cursor.