2 writes to _stylusPointPropertyInfos
PresentationCore (2)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (2)
32_stylusPointPropertyInfos = 93_stylusPointPropertyInfos = infos.ToArray();
46 references to _stylusPointPropertyInfos
PresentationCore (46)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (46)
128get { return _stylusPointPropertyInfos.Length; } 153return _stylusPointPropertyInfos[index]; 169return new ReadOnlyCollection<StylusPointPropertyInfo>(_stylusPointPropertyInfos); 177Guid[] ret = new Guid[_stylusPointPropertyInfos.Length]; 180ret[x] = _stylusPointPropertyInfos[x].Id; 192int propertyLength = (_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength; 207int expectedLength = ((_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength) - 3 /*x, y, p*/; 247for (int x = _stylusPointPropertyInfos.Length - _buttonCount; //start of the buttons 248x < _stylusPointPropertyInfos.Length; x++) 250if (_stylusPointPropertyInfos[x].Id == buttonProperty.Id) 254if (_stylusPointPropertyInfos[x].IsButton) 297Debug.Assert( stylusPointDescription1._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 298stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 299stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 300stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 302Debug.Assert( stylusPointDescription2._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 303stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 304stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 305stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 307if (stylusPointDescription1._stylusPointPropertyInfos.Length != stylusPointDescription2._stylusPointPropertyInfos.Length) 311for (int x = RequiredCountOfProperties; x < stylusPointDescription1._stylusPointPropertyInfos.Length; x++) 313if (!StylusPointPropertyInfo.AreCompatible(stylusPointDescription1._stylusPointPropertyInfos[x], stylusPointDescription2._stylusPointPropertyInfos[x])) 338Debug.Assert(stylusPointDescription._stylusPointPropertyInfos.Length >= 3 && 339stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 340stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 341stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 343Debug.Assert(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length >= 3 && 344stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 345stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 346stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 351commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0]); 352commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1]); 353commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2]); 356for (int x = RequiredCountOfProperties; x < stylusPointDescription._stylusPointPropertyInfos.Length; x++) 358for (int y = RequiredCountOfProperties; y < stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length; y++) 360if (StylusPointPropertyInfo.AreCompatible( stylusPointDescription._stylusPointPropertyInfos[x], 361stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y])) 363commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y]); 380if (stylusPointDescriptionSuperset._stylusPointPropertyInfos.Length < _stylusPointPropertyInfos.Length) 388for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 390Guid id = _stylusPointPropertyInfos[x].Id; 405for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 407if (_stylusPointPropertyInfos[x].Id == propertyId)