1 write to _stylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (1)
152
_stylusDevice
= stylusDevice;
20 references to _stylusDevice
PresentationCore (20)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (20)
155
if (
_stylusDevice
.TabletDevice.Type == TabletDeviceType.Stylus)
244
UnsafeNativeMethods.BufferPointerPacketsInteractionContext(_interactionContext, 1, new UnsafeNativeMethods.POINTER_INFO[] {
_stylusDevice
.CurrentPointerInfo });
314
_stylusDevice
.CriticalActiveSource,
351
_stylusDevice
.CriticalActiveSource,
370
if (
_stylusDevice
.TabletDevice.Type == TabletDeviceType.Stylus)
374
if (
_stylusDevice
.IsNew)
384
if (
_stylusDevice
.InAir)
387
_hoverStartTicks =
_stylusDevice
.TimeStamp;
394
if (
_stylusDevice
.InAir)
396
if (
_stylusDevice
.TimeStamp < _hoverStartTicks)
400
_hoverStartTicks =
_stylusDevice
.TimeStamp;
402
else if (
_stylusDevice
.TimeStamp - _hoverStartTicks > HoverActivationThresholdTicks)
409
else if (
_stylusDevice
.IsDown)
418
if (
_stylusDevice
.InAir)
428
if (
_stylusDevice
.IsDown || !
_stylusDevice
.InRange)
444
_stylusDevice
.CriticalActiveSource,
449
Convert.ToInt32(
_stylusDevice
.RawStylusPoint.X),
450
Convert.ToInt32(
_stylusDevice
.RawStylusPoint.Y),
479
DpiScale dpi = VisualTreeHelper.GetDpi(
_stylusDevice
.CriticalActiveSource.RootVisual);