What I mean is as user I would like to change some gestures from ones set by developer. So as developer what should I do to provide this functionality? Does MS provide any extension points for this? If anybody read about it implemented anywhere, please share.
A:
Are you talking about this?
Then you need to use the command pattern you have a (somewhat) ready to use solution if you are using WPF.
SDX2000
2009-06-27 09:02:15
No, I'm talking about changing default shortcuts. For example if I specify "F8" as default shortcut for "Build solution", but user would like to change it to "Ctrl+Shift+B". Anything will help: blog posts, examples with good implementation, just ideas... anything
Sergej Andrejev
2009-06-27 09:11:59
I don't like this solution. He breaks what WPF framework provides and introduces his own methodology. In WPF routed command shouldn't have a context. Command binding is command context
Sergej Andrejev
2009-06-27 10:09:29
A:
You could use InputBindings and search for a binding using the gesture you want to replace, then remove it and put in your InputBinding instead.
Botz3000
2009-06-27 11:32:42
And if two controls have input bindings with same input gesture but calling different commands. Your way doesn't allow to modify these bindings separately. It also doesn't allow to set more than one gesture.
Sergej Andrejev
2009-06-27 14:55:41