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)
234return _stylusDevicesInRange != null && _stylusDevicesInRange.Count > 0; 236return (_stylusDevicesInRange != null && _stylusDevicesInRange.Contains(stylusPointerId)); 329if (_stylusDevicesInRange == null) 333_stylusDevicesInRange.Add(stylusPointerId); 356_stylusDevicesInRange.Remove(stylusPointerId); 358if (_stylusDevicesInRange.Count == 0) 364else if (_stylusDevicesInRange != null) 376for(int i=0; i < _stylusDevicesInRange.Count; i++) 378_contexts.OnPenOutOfRange(this, _tabletDeviceId, _stylusDevicesInRange[i], timestamp);