tags:

views:

126

answers:

1

Hi Experts,

I have a RoutedUICommand called "Comment Selection". I need to add an input gesture for this command as it is in VIsual Studio, ie. (Ctrl+K, Ctrl+C). How can I do this? Plz help me. (Keep VS functionality in mind).

Regards, Jawahar

+1  A: 

I've found this blog post which I think could be of help

http://kentb.blogspot.com/2009/03/multikeygesture.html

Basically, WPF has no built in support for it, but subclassing InputGesture or KeyGesture seems like a possible way to achieve this without too much hassle.

Oskar