75 references to Id
PresentationCore (75)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
723
tag = guidList.FindTag(propertyInfo.
Id
, true);
841
propertyInfo.
Id
,
System\Windows\Input\Stylus\Common\StylusPoint.cs (8)
271
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
275
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
279
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
289
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
336
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
345
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
354
else if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
372
int propertyIndex = this.Description.GetPropertyIndex(stylusPointProperty.
Id
);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (24)
51
infos[RequiredXIndex].
Id
!= StylusPointPropertyIds.X ||
52
infos[RequiredYIndex].
Id
!= StylusPointPropertyIds.Y ||
53
infos[RequiredPressureIndex].
Id
!= StylusPointPropertyIds.NormalPressure)
69
if (seenIds.Contains(infos[x].
Id
))
85
seenIds.Add(infos[x].
Id
);
115
int index = IndexOf(stylusPointProperty.
Id
);
138
return GetPropertyInfo(stylusPointProperty.
Id
);
180
ret[x] = _stylusPointPropertyInfos[x].
Id
;
250
if (_stylusPointPropertyInfos[x].
Id
== buttonProperty.
Id
)
298
stylusPointDescription1._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
299
stylusPointDescription1._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
300
stylusPointDescription1._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
303
stylusPointDescription2._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
304
stylusPointDescription2._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
305
stylusPointDescription2._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
339
stylusPointDescription._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
340
stylusPointDescription._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
341
stylusPointDescription._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
344
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].
Id
== StylusPointPropertyIds.X &&
345
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].
Id
== StylusPointPropertyIds.Y &&
346
stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].
Id
== StylusPointPropertyIds.NormalPressure);
390
Guid id = _stylusPointPropertyInfos[x].
Id
;
407
if (_stylusPointPropertyInfos[x].
Id
== propertyId)
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (1)
37
Initialize(stylusPointProperty.
Id
, stylusPointProperty.IsButton);
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (6)
114
Debug.Assert(( stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.X &&
115
stylusPointPropertyInfo1.
Id
!= StylusPointPropertyIds.Y &&
116
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.X &&
117
stylusPointPropertyInfo2.
Id
!= StylusPointPropertyIds.Y),
122
return (stylusPointPropertyInfo1.
Id
== stylusPointPropertyInfo2.
Id
&&
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
256
if (stylusPointProperty.
Id
== StylusPointPropertyIds.X)
260
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Y)
264
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Z)
268
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Width)
272
if (stylusPointProperty.
Id
== StylusPointPropertyIds.Height)
276
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SystemTouch)
280
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PacketStatus)
284
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SerialNumber)
288
if (stylusPointProperty.
Id
== StylusPointPropertyIds.NormalPressure)
292
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TangentPressure)
296
if (stylusPointProperty.
Id
== StylusPointPropertyIds.ButtonPressure)
300
if (stylusPointProperty.
Id
== StylusPointPropertyIds.XTiltOrientation)
304
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YTiltOrientation)
308
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AzimuthOrientation)
312
if (stylusPointProperty.
Id
== StylusPointPropertyIds.AltitudeOrientation)
316
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TwistOrientation)
320
if (stylusPointProperty.
Id
== StylusPointPropertyIds.PitchRotation)
324
if (stylusPointProperty.
Id
== StylusPointPropertyIds.RollRotation)
328
if (stylusPointProperty.
Id
== StylusPointPropertyIds.YawRotation)
332
if (stylusPointProperty.
Id
== StylusPointPropertyIds.TipButton)
336
if (stylusPointProperty.
Id
== StylusPointPropertyIds.BarrelButton)
340
if (stylusPointProperty.
Id
== StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
130
StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.
Id
), prop.
Id
);
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
216
if (propInfo.
Id
== StylusPointPropertyIds.NormalPressure)
224
else if (propInfo.
Id
== StylusPointPropertyIds.X)
230
else if (propInfo.
Id
== StylusPointPropertyIds.Y)
257
Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].
Id
== StylusPointPropertyIds.X || !seenX,
259
Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].
Id
== StylusPointPropertyIds.Y || !seenY,
261
Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].
Id
== StylusPointPropertyIds.NormalPressure /*2*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (2)
149
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");
150
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)
932
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");
933
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");