17 references to KeyStates
PresentationCore (13)
Core\CSharp\System\Windows\Input\Keyboard.cs (1)
356
public static
KeyStates
GetKeyStates(Key key)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (6)
61
protected abstract
KeyStates
GetKeyStatesFromSystem( Key key );
267
return ( ( GetKeyStatesFromSystem(key) &
KeyStates
.Down ) ==
KeyStates
.Down );
297
return( ( GetKeyStatesFromSystem(key) &
KeyStates
.Toggled ) ==
KeyStates
.Toggled );
303
public
KeyStates
GetKeyStates(Key key)
Core\CSharp\System\Windows\Input\KeyEventArgs.cs (1)
126
public
KeyStates
KeyStates
Core\CSharp\System\Windows\Input\Win32KeyboardDevice.cs (5)
55
protected override
KeyStates
GetKeyStatesFromSystem(Key key)
57
KeyStates
keyStates =
KeyStates
.None;
103
keyStates |=
KeyStates
.Down;
106
keyStates |=
KeyStates
.Toggled;
PresentationFramework (4)
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
211
((keyArgs.KeyStates &
KeyStates
.Down) ==
KeyStates
.Down) &&
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (2)
604
if ((keyArgs != null) && keyArgs.RoutedEvent == Keyboard.KeyDownEvent && ((keyArgs.KeyStates &
KeyStates
.Down) ==
KeyStates
.Down))