48 references to InputType
PresentationCore (46)
System\Windows\Input\Command\CommandDevice.cs (3)
54if (input.Report.Type == InputType.Command) 273private IInputElement GetSourceFromDevice(InputType device) 275if (device == InputType.Mouse)
System\Windows\Input\InputReport.cs (11)
33protected InputReport(PresentationSource inputSource, InputType type, InputMode mode, int timestamp) 53public InputType Type {get {return _type;}} 85private void Validate_InputType( InputType type ) 89case InputType.Keyboard: 90case InputType.Mouse: 91case InputType.Stylus: 92case InputType.Hid: 93case InputType.Text: 94case InputType.Command: 97throw new System.ComponentModel.InvalidEnumArgumentException("type", (int)type, typeof(InputType)); 102private InputType _type;
System\Windows\Input\KeyboardDevice.cs (1)
967if(input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)
System\Windows\Input\MouseDevice.cs (3)
1152if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1375if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1877if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse)
System\Windows\Input\RawAppCommandInputReport.cs (4)
48InputType device, 49InputType inputType) : base(inputSource, inputType, mode, timestamp) 63internal InputType Device 72private InputType _device;
System\Windows\Input\RawKeyboardInputReport.cs (1)
57IntPtr extraInformation) : base(inputSource, InputType.Keyboard, mode, timestamp)
System\Windows\Input\RawMouseInputReport.cs (1)
53IntPtr extraInformation) : base(inputSource, InputType.Mouse, mode, timestamp)
System\Windows\Input\RawTextInputReport.cs (1)
49char characterCode) : base(inputSource, InputType.Text, mode, timestamp)
System\Windows\Input\RawUIStateInputReport.cs (1)
36RawUIStateTargets targets) : base(inputSource, InputType.Keyboard, mode, timestamp)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (1)
233: base(inputSource, InputType.Stylus, mode, timestamp)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
170if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 298if (input.Report.Type == InputType.Mouse) 302else if (input.Report.Type == InputType.Stylus) 353case InputType.Stylus:
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
516if (input.Report.Type != InputType.Mouse)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (6)
481if (input.Report.Type == InputType.Mouse) 876else if (input.Report.Type == InputType.Stylus) 982if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 1171if (!input.Handled && input.Report.Type == InputType.Stylus) 1677inputReportArgs.Report.Type == InputType.Mouse && 1820if (input.Report.Type != InputType.Mouse)
System\Windows\Input\TextCompositionManager.cs (1)
591if(input.Report.Type == InputType.Text && input.RoutedEvent == InputManager.InputReportEvent)
System\Windows\InterOp\HwndAppCommandInputProvider.cs (7)
55InputType.Command); 80private static InputType GetDevice(IntPtr lParam) 82InputType inputType = InputType.Hid; 92inputType = InputType.Mouse; 96inputType = InputType.Keyboard; 103inputType=InputType.Hid;
PresentationFramework (2)
System\Windows\Controls\PopupControlService.cs (1)
42if (report.Report.Type == InputType.Mouse)
System\Windows\Input\KeyboardNavigation.cs (1)
3412if (input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)