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