0

I need to add set of keys to the keybinding in wpf. So any ways of adding list of key bindings in a one place or best practises ?

eg-

<KeyBinding Key={Binding Converter={StaticResource converter},Command="{Binding MyCommand}"}
LahiruD
  • 93
  • 1
  • 12
  • what are you trying for: you mean add a keyboard short cut like `Ctrl + A` to Select All ? or something else ? – Abin Oct 15 '15 at 18:17
  • Yes adding short cut keys.Adding more short cut keys, such as Ctrl+H, Enter , ESC and etc .So i have a huge list of short cuts to add as keybindings.So need to declare all short cut keys in a one place – LahiruD Oct 16 '15 at 04:08
  • Possible duplicate of [KeyBinding style](http://stackoverflow.com/questions/6364640/keybinding-style) – Abin Oct 16 '15 at 14:15
  • [This](http://stackoverflow.com/q/6364640/2470362) will help you – Abin Oct 16 '15 at 14:16
  • Thank you Mathew .I will try this – LahiruD Oct 16 '15 at 14:51
  • I have tried this one but it doesn't able to fix my issue.So i need to use only one key binding and attach other all key bindings to it according to the key press. – LahiruD Oct 19 '15 at 11:05

0 Answers0