3 writes to _stylusDevicesInRange
PresentationCore (3)
System\Windows\Input\Stylus\Wisp\PenContext.cs (3)
331
_stylusDevicesInRange
= new List<int>(); // create it as needed.
360
_stylusDevicesInRange
= null; // not needed anymore.
380
_stylusDevicesInRange
= null; // nothing in range now.
11 references to _stylusDevicesInRange
PresentationCore (11)
System\Windows\Input\Stylus\Wisp\PenContext.cs (11)
234
return
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Count > 0;
236
return (
_stylusDevicesInRange
!= null &&
_stylusDevicesInRange
.Contains(stylusPointerId));
329
if (
_stylusDevicesInRange
== null)
333
_stylusDevicesInRange
.Add(stylusPointerId);
356
_stylusDevicesInRange
.Remove(stylusPointerId);
358
if (
_stylusDevicesInRange
.Count == 0)
364
else if (
_stylusDevicesInRange
!= null)
376
for(int i=0; i <
_stylusDevicesInRange
.Count; i++)
378
_contexts.OnPenOutOfRange(this, _tabletDeviceId,
_stylusDevicesInRange
[i], timestamp);