2 writes to _stylusPointPropertyInfos
PresentationCore (2)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (2)
43_stylusPointPropertyInfos = 104_stylusPointPropertyInfos = infos.ToArray();
46 references to _stylusPointPropertyInfos
PresentationCore (46)
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (46)
139get { return _stylusPointPropertyInfos.Length; } 164return _stylusPointPropertyInfos[index]; 180return new ReadOnlyCollection<StylusPointPropertyInfo>(_stylusPointPropertyInfos); 188Guid[] ret = new Guid[_stylusPointPropertyInfos.Length]; 191ret[x] = _stylusPointPropertyInfos[x].Id; 203int propertyLength = (_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength; 218int expectedLength = ((_stylusPointPropertyInfos.Length - _buttonCount) + buttonLength) - 3 /*x, y, p*/; 258for (int x = _stylusPointPropertyInfos.Length - _buttonCount; //start of the buttons 259x < _stylusPointPropertyInfos.Length; x++) 261if (_stylusPointPropertyInfos[x].Id == buttonProperty.Id) 265if (_stylusPointPropertyInfos[x].IsButton) 308Debug.Assert( stylusPointDescription1._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 309stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 310stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 311stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 313Debug.Assert( stylusPointDescription2._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 314stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 315stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 316stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 318if (stylusPointDescription1._stylusPointPropertyInfos.Length != stylusPointDescription2._stylusPointPropertyInfos.Length) 322for (int x = RequiredCountOfProperties; x < stylusPointDescription1._stylusPointPropertyInfos.Length; x++) 324if (!StylusPointPropertyInfo.AreCompatible(stylusPointDescription1._stylusPointPropertyInfos[x], stylusPointDescription2._stylusPointPropertyInfos[x])) 350Debug.Assert(stylusPointDescription._stylusPointPropertyInfos.Length >= 3 && 351stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 352stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 353stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 355Debug.Assert(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length >= 3 && 356stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 357stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 358stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 363commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0]); 364commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1]); 365commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2]); 368for (int x = RequiredCountOfProperties; x < stylusPointDescription._stylusPointPropertyInfos.Length; x++) 370for (int y = RequiredCountOfProperties; y < stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length; y++) 372if (StylusPointPropertyInfo.AreCompatible( stylusPointDescription._stylusPointPropertyInfos[x], 373stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y])) 375commonProperties.Add(stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[y]); 393if (stylusPointDescriptionSuperset._stylusPointPropertyInfos.Length < _stylusPointPropertyInfos.Length) 401for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 403Guid id = _stylusPointPropertyInfos[x].Id; 418for (int x = 0; x < _stylusPointPropertyInfos.Length; x++) 420if (_stylusPointPropertyInfos[x].Id == propertyId)