3 writes to _stylusDevicesInRange
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\PenContext.cs (3)
330
_stylusDevicesInRange
= new List<int>(); // create it as needed.
359
_stylusDevicesInRange
= null; // not needed anymore.
379
_stylusDevicesInRange
= null; // nothing in range now.
11 references to _stylusDevicesInRange
PresentationCore (11)
System\Windows\Input\Stylus\Wisp\PenContext.cs (11)
233
return
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Count > 0;
235
return (
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Contains(stylusPointerId));
328
if (
_stylusDevicesInRange
== null)
332
_stylusDevicesInRange
.Add(stylusPointerId);
355
_stylusDevicesInRange
.Remove(stylusPointerId);
357
if (
_stylusDevicesInRange
.Count == 0)
363
else if (
_stylusDevicesInRange
!= null)
375
for(int i=0; i <
_stylusDevicesInRange
.Count; i++)
377
_contexts.OnPenOutOfRange(this, _tabletDeviceId,
_stylusDevicesInRange
[i], timestamp);