tags:

views:

106

answers:

1

Has anybody found a way to set the Keyboard.Modifiers via code in WPF? Only a getter is exposed, so there must be some other way to do it that I'm just not seeing.

A: 

I am also in serach of this solution becuaes I have a Gridview that allows multiple select, however, you have to have the Cntr or shift key pressed. I don't want the user to have to press any key, just begin clicking on the rows to select them. So I thought if I tell the system that the Control key is pressed, I will get the desired results. Is there a way to fool the system to think that the control (or any key) is pressed?

Hector Cervantes