views:

53

answers:

0

i would like to determine if a key gesture is being pressed. I have a control that will kick into edit mode on a keypress, but iw ould like to be able to assign an arbitrary KeyGesture and then test for it in a OnPreviewKeyDown method. any ideas?

another way to ask this question is how can i get a KeyGesture from the set of keys currently down? Is there a simple way?