3 writes to _stylusDevicesInRange
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\PenContext.cs (3)
350
_stylusDevicesInRange
= new List<int>(); // create it as needed.
379
_stylusDevicesInRange
= null; // not needed anymore.
399
_stylusDevicesInRange
= null; // nothing in range now.
11 references to _stylusDevicesInRange
PresentationCore (11)
System\Windows\Input\Stylus\Wisp\PenContext.cs (11)
253
return
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Count > 0;
255
return (
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Contains(stylusPointerId));
348
if (
_stylusDevicesInRange
== null)
352
_stylusDevicesInRange
.Add(stylusPointerId);
375
_stylusDevicesInRange
.Remove(stylusPointerId);
377
if (
_stylusDevicesInRange
.Count == 0)
383
else if (
_stylusDevicesInRange
!= null)
395
for(int i=0; i <
_stylusDevicesInRange
.Count; i++)
397
_contexts.OnPenOutOfRange(this, _tabletDeviceId,
_stylusDevicesInRange
[i], timestamp);