3 writes to _stylusDevicesInRange
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\PenContext.cs (3)
344
_stylusDevicesInRange
= new List<int>(); // create it as needed.
373
_stylusDevicesInRange
= null; // not needed anymore.
393
_stylusDevicesInRange
= null; // nothing in range now.
11 references to _stylusDevicesInRange
PresentationCore (11)
System\Windows\Input\Stylus\Wisp\PenContext.cs (11)
247
return
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Count > 0;
249
return (
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Contains(stylusPointerId));
342
if (
_stylusDevicesInRange
== null)
346
_stylusDevicesInRange
.Add(stylusPointerId);
369
_stylusDevicesInRange
.Remove(stylusPointerId);
371
if (
_stylusDevicesInRange
.Count == 0)
377
else if (
_stylusDevicesInRange
!= null)
389
for(int i=0; i <
_stylusDevicesInRange
.Count; i++)
391
_contexts.OnPenOutOfRange(this, _tabletDeviceId,
_stylusDevicesInRange
[i], timestamp);