17 references to KeyStates
PresentationCore (13)
System\Windows\Input\Keyboard.cs (1)
358
public static
KeyStates
GetKeyStates(Key key)
System\Windows\Input\KeyboardDevice.cs (6)
58
protected abstract
KeyStates
GetKeyStatesFromSystem( Key key );
227
return ( ( GetKeyStatesFromSystem(key) &
KeyStates
.Down ) ==
KeyStates
.Down );
257
return( ( GetKeyStatesFromSystem(key) &
KeyStates
.Toggled ) ==
KeyStates
.Toggled );
263
public
KeyStates
GetKeyStates(Key key)
System\Windows\Input\KeyEventArgs.cs (1)
116
public
KeyStates
KeyStates
System\Windows\Input\Win32KeyboardDevice.cs (5)
44
protected override
KeyStates
GetKeyStatesFromSystem(Key key)
46
KeyStates
keyStates =
KeyStates
.None;
52
keyStates |=
KeyStates
.Down;
55
keyStates |=
KeyStates
.Toggled;
PresentationFramework (4)
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
219
((keyArgs.KeyStates &
KeyStates
.Down) ==
KeyStates
.Down) &&
System\Windows\Controls\DataGridComboBoxColumn.cs (2)
602
if ((keyArgs != null) && keyArgs.RoutedEvent == Keyboard.KeyDownEvent && ((keyArgs.KeyStates &
KeyStates
.Down) ==
KeyStates
.Down))