36 references to InputType
PresentationCore (34)
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (3)
78if (input.Report.Type == InputType.Command) 302private IInputElement GetSourceFromDevice(InputType device) 304if (device == InputType.Mouse)
Core\CSharp\System\Windows\Input\InputReport.cs (11)
44protected InputReport(PresentationSource inputSource, InputType type, InputMode mode, int timestamp) 77public InputType Type {get {return _type;}} 109private void Validate_InputType( InputType type ) 113case InputType.Keyboard: 114case InputType.Mouse: 115case InputType.Stylus: 116case InputType.Hid: 117case InputType.Text: 118case InputType.Command: 121throw new System.ComponentModel.InvalidEnumArgumentException("type", (int)type, typeof(InputType)); 126private InputType _type;
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
1076if(input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)
Core\CSharp\System\Windows\Input\MouseDevice.cs (3)
1271if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1490if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1995if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse)
Core\CSharp\System\Windows\Input\RawAppCommandInputReport.cs (4)
51InputType device, 52InputType inputType) : base(inputSource, inputType, mode, timestamp) 66internal InputType Device 75private InputType _device;
Core\CSharp\System\Windows\Input\RawKeyboardInputReport.cs (1)
66IntPtr extraInformation) : base(inputSource, InputType.Keyboard, mode, timestamp)
Core\CSharp\System\Windows\Input\RawMouseInputReport.cs (1)
63IntPtr extraInformation) : base(inputSource, InputType.Mouse, mode, timestamp)
Core\CSharp\System\Windows\Input\RawTextInputReport.cs (1)
48char characterCode) : base(inputSource, InputType.Text, mode, timestamp)
Core\CSharp\System\Windows\Input\RawUIStateInputReport.cs (1)
44RawUIStateTargets targets) : base(inputSource, InputType.Keyboard, mode, timestamp)
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
741if(input.Report.Type == InputType.Text && input.RoutedEvent == InputManager.InputReportEvent)
Core\CSharp\System\Windows\Interop\HwndAppCommandInputProvider.cs (7)
87InputType.Command); 112private static InputType GetDevice(IntPtr lParam) 114InputType inputType = InputType.Hid; 124inputType = InputType.Mouse; 128inputType = InputType.Keyboard; 135inputType=InputType.Hid;
PresentationFramework (2)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
63if (report.Report.Type == InputType.Mouse)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3538if (input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)