Reputation: 141
Does anyone know why keybinding to ALT+0 thru ALT+9 does not work in WPF? I even tried it in the WPFApplicationFramework Shortcut Key example and nothing happens if you change the Modifier to the ALT Key plus NumPad0. It works with Control and NumPad0 though.
Upvotes: 3
Views: 1131
Reputation: 134881
You can bind alt with any of the numberkeys not on the keypad in windows. The reason you can't is because the alt+numpad# combination is reserved for inputting most (unicode) characters by code in decimal AFAIK. e.g., alt+0215 inputs the character "×". I don't think this could be overridden so you'll have to come up with a different key combination.
Scroll to "Alt + Numpad" in this page or read this for more information.
Upvotes: 2