75 references to Id
PresentationCore (75)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
731
tag = guidList.FindTag(propertyInfo.
Id
, true);
849
propertyInfo.
Id
,
System\Windows\Input\Stylus\Common\StylusPoint.cs (8)
282
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
286
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
290
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
300
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
347
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
356
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
365
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
383
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (24)
62
infos[RequiredXIndex].
Id
!= StylusPointPropertyIds.X ||
63
infos[RequiredYIndex].
Id
!= StylusPointPropertyIds.Y ||
64
infos[RequiredPressureIndex].
Id
!= StylusPointPropertyIds.NormalPressure)
80
if (seenIds.Contains(infos[x].
Id
))
96
seenIds.Add(infos[x].
Id
);
126
int index = IndexOf(stylusPointProperty.
Id
);
149
return GetPropertyInfo(stylusPointProperty.
Id
);
191
ret[x] = _stylusPointPropertyInfos[x].
Id
;
261
if (_stylusPointPropertyInfos[x].
Id
== buttonProperty.
Id
)
309
stylusPointDescription1._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
310
stylusPointDescription1._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
311
stylusPointDescription1._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
314
stylusPointDescription2._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
315
stylusPointDescription2._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
316
stylusPointDescription2._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
351
stylusPointDescription._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
352
stylusPointDescription._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
353
stylusPointDescription._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
356
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
357
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
358
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
403
Guid id = _stylusPointPropertyInfos[x].
Id
;
420
if (_stylusPointPropertyInfos[x].
Id
== propertyId)
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (1)
45
Initialize(stylusPointProperty.
Id
, stylusPointProperty.IsButton);
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (6)
124
Debug.Assert(( stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.X &&
125
stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.Y &&
126
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.X &&
127
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.Y),
132
return (stylusPointPropertyInfo1.
Id
== stylusPointPropertyInfo2.
Id
&&
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
264
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
268
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
272
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Z)
276
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Width)
280
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Height)
284
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SystemTouch)
288
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PacketStatus)
292
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SerialNumber)
296
if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
300
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TangentPressure)
304
if (stylusPointProperty.
Id
== StylusPointPropertyIds.ButtonPressure)
308
if (stylusPointProperty.
Id
== StylusPointPropertyIds.XTiltOrientation)
312
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YTiltOrientation)
316
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AzimuthOrientation)
320
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AltitudeOrientation)
324
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TwistOrientation)
328
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PitchRotation)
332
if (stylusPointProperty.
Id
== StylusPointPropertyIds.RollRotation)
336
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YawRotation)
340
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TipButton)
344
if (stylusPointProperty.
Id
== StylusPointPropertyIds.BarrelButton)
348
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
139
StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.
Id
), prop.
Id
);
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
221
if (propInfo.
Id
== StylusPointPropertyIds.NormalPressure)
229
else if (propInfo.
Id
== StylusPointPropertyIds.X)
235
else if (propInfo.
Id
== StylusPointPropertyIds.Y)
262
Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].
Id
== StylusPointPropertyIds.X || !seenX,
264
Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].
Id
== StylusPointPropertyIds.Y || !seenY,
266
Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].
Id
== StylusPointPropertyIds.NormalPressure /*2*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (2)
163
Debug.Assert(propertyInfos[StylusPointDescription.RequiredXIndex /*0*/].
Id
== StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0");
164
Debug.Assert(propertyInfos[StylusPointDescription.RequiredYIndex /*0*/].
Id
== StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1");
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (2)
942
Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].
Id
== StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0");
943
Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].
Id
== StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1");