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)
253return _stylusDevicesInRange != null && _stylusDevicesInRange.Count > 0; 255return (_stylusDevicesInRange != null && _stylusDevicesInRange.Contains(stylusPointerId)); 348if (_stylusDevicesInRange == null) 352_stylusDevicesInRange.Add(stylusPointerId); 375_stylusDevicesInRange.Remove(stylusPointerId); 377if (_stylusDevicesInRange.Count == 0) 383else if (_stylusDevicesInRange != null) 395for(int i=0; i < _stylusDevicesInRange.Count; i++) 397_contexts.OnPenOutOfRange(this, _tabletDeviceId, _stylusDevicesInRange[i], timestamp);