1 write to _stylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (1)
168
_stylusDevice
= stylusDevice;
20 references to _stylusDevice
PresentationCore (20)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (20)
171
if (
_stylusDevice
.TabletDevice.Type == TabletDeviceType.Stylus)
260
UnsafeNativeMethods.BufferPointerPacketsInteractionContext(_interactionContext, 1, new UnsafeNativeMethods.POINTER_INFO[] {
_stylusDevice
.CurrentPointerInfo });
330
_stylusDevice
.CriticalActiveSource,
367
_stylusDevice
.CriticalActiveSource,
386
if (
_stylusDevice
.TabletDevice.Type == TabletDeviceType.Stylus)
390
if (
_stylusDevice
.IsNew)
400
if (
_stylusDevice
.InAir)
403
_hoverStartTicks =
_stylusDevice
.TimeStamp;
410
if (
_stylusDevice
.InAir)
412
if (
_stylusDevice
.TimeStamp < _hoverStartTicks)
416
_hoverStartTicks =
_stylusDevice
.TimeStamp;
418
else if (
_stylusDevice
.TimeStamp - _hoverStartTicks > HoverActivationThresholdTicks)
425
else if (
_stylusDevice
.IsDown)
434
if (
_stylusDevice
.InAir)
444
if (
_stylusDevice
.IsDown || !
_stylusDevice
.InRange)
460
_stylusDevice
.CriticalActiveSource,
465
Convert.ToInt32(
_stylusDevice
.RawStylusPoint.X),
466
Convert.ToInt32(
_stylusDevice
.RawStylusPoint.Y),
495
DpiScale dpi = VisualTreeHelper.GetDpi(
_stylusDevice
.CriticalActiveSource.RootVisual);