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