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