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