1 type derived from KeyboardDevice
PresentationCore (1)
System\Windows\Input\Win32KeyboardDevice.cs (1)
13internal sealed class Win32KeyboardDevice : KeyboardDevice
27 references to KeyboardDevice
PresentationCore (16)
System\Windows\Input\AccessKeyManager.cs (2)
304KeyboardDevice keyboard = (KeyboardDevice)e.Device;
System\Windows\Input\FocusChangedEventArgs.cs (1)
27public KeyboardFocusChangedEventArgs(KeyboardDevice keyboard, int timestamp, IInputElement oldFocus, IInputElement newFocus) : base(keyboard, timestamp)
System\Windows\Input\InputManager.cs (2)
268public KeyboardDevice PrimaryKeyboardDevice 938private KeyboardDevice _primaryKeyboardDevice;
System\Windows\Input\Keyboard.cs (2)
359public static KeyboardDevice PrimaryDevice 363KeyboardDevice keyboardDevice = InputManager.UnsecureCurrent.PrimaryKeyboardDevice;
System\Windows\Input\KeyboardDevice.cs (3)
166keyboardInputProvider = (IKeyboardInputProvider)source.GetInputProvider(typeof(KeyboardDevice)); 605IKeyboardInputProvider keyboardProvider = presentationSource.GetInputProvider(typeof(KeyboardDevice)) as IKeyboardInputProvider; 693IKeyboardInputProvider toDeactivate = _activeSource.GetInputProvider(typeof(KeyboardDevice)) as IKeyboardInputProvider;
System\Windows\Input\KeyboardEventArgs.cs (3)
23public KeyboardEventArgs(KeyboardDevice keyboard, int timestamp) : base(keyboard, timestamp) 31public KeyboardDevice KeyboardDevice 33get {return (KeyboardDevice) this.Device;}
System\Windows\Input\KeyboardInputProviderAcquireFocusEventArgs.cs (1)
26public KeyboardInputProviderAcquireFocusEventArgs(KeyboardDevice keyboard, int timestamp, bool focusAcquired) : base(keyboard, timestamp)
System\Windows\Input\KeyEventArgs.cs (1)
28public KeyEventArgs(KeyboardDevice keyboard, PresentationSource inputSource, int timestamp, Key key) : base(keyboard, timestamp)
System\Windows\InterOp\HwndSource.cs (1)
402if (inputDevice == typeof(KeyboardDevice))
PresentationFramework (10)
System\Windows\Controls\ComboBox.cs (1)
1100if ((IsEditable || (!IsDropDownOpen)) && itemNavigateArgs.DeviceUsed is KeyboardDevice)
System\Windows\Controls\DataGrid.cs (1)
5500if (itemNavigateArgs.DeviceUsed is KeyboardDevice)
System\Windows\Controls\ItemsControl.cs (1)
3274if (itemNavigateArgs.DeviceUsed is KeyboardDevice)
System\Windows\Controls\Menu.cs (1)
288if (itemNavigateArgs.DeviceUsed is KeyboardDevice)
System\windows\Documents\TextEditorTyping.cs (2)
401KeyboardDevice keyboard = e.Device as KeyboardDevice;
System\Windows\Input\KeyboardNavigation.cs (1)
812return InputManager.Current.MostRecentInputDevice is KeyboardDevice;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
439case 345: t = () => typeof(KeyboardDevice); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6077typeof(System.Windows.Input.KeyboardDevice),
System\Windows\Markup\KnownTypes.cs (1)
5899case KnownElements.KeyboardDevice: t = typeof(System.Windows.Input.KeyboardDevice); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
472return (InputManager.Current.MostRecentInputDevice is KeyboardDevice);