75 references to Id
PresentationCore (75)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
724
tag = guidList.FindTag(propertyInfo.
Id
, true);
842
propertyInfo.
Id
,
System\Windows\Input\Stylus\Common\StylusPoint.cs (8)
272
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
276
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
280
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
290
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
337
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
346
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
355
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
373
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (24)
54
infos[RequiredXIndex].
Id
!= StylusPointPropertyIds.X ||
55
infos[RequiredYIndex].
Id
!= StylusPointPropertyIds.Y ||
56
infos[RequiredPressureIndex].
Id
!= StylusPointPropertyIds.NormalPressure)
72
if (seenIds.Contains(infos[x].
Id
))
88
seenIds.Add(infos[x].
Id
);
118
int index = IndexOf(stylusPointProperty.
Id
);
141
return GetPropertyInfo(stylusPointProperty.
Id
);
183
ret[x] = _stylusPointPropertyInfos[x].
Id
;
253
if (_stylusPointPropertyInfos[x].
Id
== buttonProperty.
Id
)
301
stylusPointDescription1._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
302
stylusPointDescription1._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
303
stylusPointDescription1._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
306
stylusPointDescription2._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
307
stylusPointDescription2._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
308
stylusPointDescription2._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
343
stylusPointDescription._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
344
stylusPointDescription._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
345
stylusPointDescription._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
348
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
349
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
350
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
395
Guid id = _stylusPointPropertyInfos[x].
Id
;
412
if (_stylusPointPropertyInfos[x].
Id
== propertyId)
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (1)
38
Initialize(stylusPointProperty.
Id
, stylusPointProperty.IsButton);
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (6)
115
Debug.Assert(( stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.X &&
116
stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.Y &&
117
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.X &&
118
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.Y),
123
return (stylusPointPropertyInfo1.
Id
== stylusPointPropertyInfo2.
Id
&&
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
257
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
261
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
265
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Z)
269
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Width)
273
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Height)
277
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SystemTouch)
281
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PacketStatus)
285
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SerialNumber)
289
if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
293
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TangentPressure)
297
if (stylusPointProperty.
Id
== StylusPointPropertyIds.ButtonPressure)
301
if (stylusPointProperty.
Id
== StylusPointPropertyIds.XTiltOrientation)
305
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YTiltOrientation)
309
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AzimuthOrientation)
313
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AltitudeOrientation)
317
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TwistOrientation)
321
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PitchRotation)
325
if (stylusPointProperty.
Id
== StylusPointPropertyIds.RollRotation)
329
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YawRotation)
333
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TipButton)
337
if (stylusPointProperty.
Id
== StylusPointPropertyIds.BarrelButton)
341
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
131
StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.
Id
), prop.
Id
);
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
217
if (propInfo.
Id
== StylusPointPropertyIds.NormalPressure)
225
else if (propInfo.
Id
== StylusPointPropertyIds.X)
231
else if (propInfo.
Id
== StylusPointPropertyIds.Y)
258
Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].
Id
== StylusPointPropertyIds.X || !seenX,
260
Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].
Id
== StylusPointPropertyIds.Y || !seenY,
262
Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].
Id
== StylusPointPropertyIds.NormalPressure /*2*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (2)
150
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");
151
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)
930
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");
931
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");