18 references to RequiredCountOfProperties
PresentationCore (18)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
457if (stylusPoints.Description.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 484Debug.Assert(propertyGuids.Length == StylusPointDescription.RequiredCountOfProperties); 494StylusPointPropertyInfo[] infosToUse = new StylusPointPropertyInfo[StylusPointDescription.RequiredCountOfProperties];
System\Windows\Input\Stylus\Common\StylusPoint.cs (3)
107if (stylusPointDescription.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 117int expectedAdditionalValues = properties.Count - StylusPointDescription.RequiredCountOfProperties; //for x, y, pressure 131for (int i = StylusPointDescription.RequiredCountOfProperties, j = 0; i < properties.Count; i++, j++)
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (5)
500for (int x = StylusPointDescription.RequiredCountOfProperties/*3*/; x < properties.Count; x++) 529if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties/*3*/) 532int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/ 605if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties) 608int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (7)
51if (infos.Count < RequiredCountOfProperties || 68for (int x = RequiredCountOfProperties; x < infos.Count; x++) 298Debug.Assert( stylusPointDescription1._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 303Debug.Assert( stylusPointDescription2._stylusPointPropertyInfos.Length >= RequiredCountOfProperties && 312for (int x = RequiredCountOfProperties; x < stylusPointDescription1._stylusPointPropertyInfos.Length; x++) 357for (int x = RequiredCountOfProperties; x < stylusPointDescription._stylusPointPropertyInfos.Length; x++) 359for (int y = RequiredCountOfProperties; y < stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos.Length; y++)