48 references to InputType
PresentationCore (46)
System\Windows\Input\Command\CommandDevice.cs (3)
53if (input.Report.Type == InputType.Command) 274private IInputElement GetSourceFromDevice(InputType device) 276if (device == InputType.Mouse)
System\Windows\Input\InputReport.cs (11)
32protected InputReport(PresentationSource inputSource, InputType type, InputMode mode, int timestamp) 52public InputType Type {get {return _type;}} 84private void Validate_InputType( InputType type ) 88case InputType.Keyboard: 89case InputType.Mouse: 90case InputType.Stylus: 91case InputType.Hid: 92case InputType.Text: 93case InputType.Command: 96throw new System.ComponentModel.InvalidEnumArgumentException("type", (int)type, typeof(InputType)); 101private InputType _type;
System\Windows\Input\KeyboardDevice.cs (1)
972if(input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)
System\Windows\Input\MouseDevice.cs (3)
1154if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1389if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse) 1896if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Mouse)
System\Windows\Input\RawAppCommandInputReport.cs (4)
47InputType device, 48InputType inputType) : base(inputSource, inputType, mode, timestamp) 62internal InputType Device 71private InputType _device;
System\Windows\Input\RawKeyboardInputReport.cs (1)
56IntPtr extraInformation) : base(inputSource, InputType.Keyboard, mode, timestamp)
System\Windows\Input\RawMouseInputReport.cs (1)
52IntPtr extraInformation) : base(inputSource, InputType.Mouse, mode, timestamp)
System\Windows\Input\RawTextInputReport.cs (1)
48char characterCode) : base(inputSource, InputType.Text, mode, timestamp)
System\Windows\Input\RawUIStateInputReport.cs (1)
35RawUIStateTargets targets) : base(inputSource, InputType.Keyboard, mode, timestamp)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (1)
232: base(inputSource, InputType.Stylus, mode, timestamp)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
169if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 299if (input.Report.Type == InputType.Mouse) 303else if (input.Report.Type == InputType.Stylus) 354case InputType.Stylus:
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
515if (input.Report.Type != InputType.Mouse)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (6)
485if (input.Report.Type == InputType.Mouse) 884else if (input.Report.Type == InputType.Stylus) 990if (!inputReportEventArgs.Handled && inputReportEventArgs.Report.Type == InputType.Stylus) 1179if (!input.Handled && input.Report.Type == InputType.Stylus) 1687inputReportArgs.Report.Type == InputType.Mouse && 1832if (input.Report.Type != InputType.Mouse)
System\Windows\Input\TextCompositionManager.cs (1)
612if(input.Report.Type == InputType.Text && input.RoutedEvent == InputManager.InputReportEvent)
System\Windows\InterOp\HwndAppCommandInputProvider.cs (7)
54InputType.Command); 79private static InputType GetDevice(IntPtr lParam) 81InputType inputType = InputType.Hid; 91inputType = InputType.Mouse; 95inputType = InputType.Keyboard; 102inputType=InputType.Hid;
PresentationFramework (2)
System\Windows\Controls\PopupControlService.cs (1)
41if (report.Report.Type == InputType.Mouse)
System\Windows\Input\KeyboardNavigation.cs (1)
3406if (input.Report.Type == InputType.Keyboard && input.RoutedEvent == Event)