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