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