2 writes to _stylusPointPropertyInfos
PresentationCore (2)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (2)
33_stylusPointPropertyInfos = 94_stylusPointPropertyInfos = infos.ToArray();
46 references to _stylusPointPropertyInfos
PresentationCore (46)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (46)
129get { return _stylusPointPropertyInfos.Length; } 154return _stylusPointPropertyInfos[index]; 170return new ReadOnlyCollection<StylusPointPropertyInfo>(_stylusPointPropertyInfos); 178Guid[] ret = new Guid[_stylusPointPropertyInfos.Length]; 181ret[x] = _stylusPointPropertyInfos[x].Id; 193int propertyLength = (_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength; 208int expectedLength = ((_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength) - 3 /*x, y, p*/; 248for (int x = _stylusPointPropertyInfos.Length - _buttonCount; //start of the buttons 249x < _stylusPointPropertyInfos.Length; x++) 251if (_stylusPointPropertyInfos[x].Id == buttonProperty.Id) 255if (_stylusPointPropertyInfos[x].IsButton) 298Debug.Assert( stylusPointDescription1._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 299stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 300stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 301stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 303Debug.Assert( stylusPointDescription2._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 304stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 305stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 306stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 308if (stylusPointDescription1._stylusPointPropertyInfos.Length != stylusPointDescription2._stylusPointPropertyInfos.Length) 312for (int x = RequiredCountOfProperties; x < stylusPointDescription1._stylusPointPropertyInfos.Length; x++) 314if (!StylusPointPropertyInfo.AreCompatible(stylusPointDescription1._stylusPointPropertyInfos[x], stylusPointDescription2._stylusPointPropertyInfos[x])) 339Debug.Assert(stylusPointDescription._stylusPointPropertyInfos.Length >= 3 && 340stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 341stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 342stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 344Debug.Assert(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length >= 3 && 345stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 346stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 347stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 352commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0]); 353commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1]); 354commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2]); 357for (int x = RequiredCountOfProperties; x < stylusPointDescription._stylusPointPropertyInfos.Length; x++) 359for (int y = RequiredCountOfProperties; y < stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length; y++) 361if (StylusPointPropertyInfo.AreCompatible( stylusPointDescription._stylusPointPropertyInfos[x], 362stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y])) 364commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y]); 381if (stylusPointDescriptionSuperset._stylusPointPropertyInfos.Length < _stylusPointPropertyInfos.Length) 389for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 391Guid id = _stylusPointPropertyInfos[x].Id; 406for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 408if (_stylusPointPropertyInfos[x].Id == propertyId)