34 references to Id
PresentationCore (34)
MS\Internal\Ink\ExtendedProperty.cs (4)
33return Id.GetHashCode() ^ Value.GetHashCode(); 46if (that.Id == this.Id) 128return KnownIds.ConvertToString(Id) + "," + val;
MS\Internal\Ink\ExtendedPropertyCollection.cs (7)
107if (_extendedProperties[x].Id == attributeId) 202guids[i] = this[i].Id; 239if (currentProperty.Id == attributeId) 250new ExtendedProperty(currentProperty.Id, oldValue), //old prop 309System.Diagnostics.Debug.Assert(!this.Contains(extendedProperty.Id), "ExtendedProperty already belongs to the collection"); 338_extendedProperties[_optimisticIndex].Id == id) 346if (_extendedProperties[i].Id == id)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (7)
48if (attribute.Id == KnownIds.DrawingFlags) 52else if (attribute.Id == KnownIds.StylusTip) 59if (UsesEmbeddedTypeInformation(attribute.Id)) 68EncodeAttribute(attribute.Id, data, interopTypeInfo, stream); 733cbWrite += ExtendedPropertySerializer.EncodeAsISF(prop.Id, data, stream, guidList, compressionAlgorithm, fTag); 754if (0 == GuidList.FindKnownTag(attribute.Id)) 756guids[count++] = attribute.Id;
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
567if (epcClone[x].Id == KnownIds.StylusTipTransform) 575if (DrawingAttributes.RemoveIdFromExtendedProperties(epcClone[x].Id)) 577epcClone.Remove(epcClone[x].Id);
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
2125guidList.Add(attributes[i].Id); 2168guidList.Add(stroke.ExtendedProperties[i].Id);
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
768tag = guidList.FindTag(stroke.ExtendedProperties[(int)x].Id, false);
System\Windows\Ink\DrawingAttributes.cs (10)
793= DrawingAttributes.GetDefaultDrawingAttributeValue(args.OldProperty.Id); 797new ExtendedProperty( args.OldProperty.Id, 801new PropertyDataChangedEventArgs( args.OldProperty.Id, 810new PropertyDataChangedEventArgs( args.OldProperty.Id, 821= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 828new PropertyDataChangedEventArgs( args.NewProperty.Id, 838new PropertyDataChangedEventArgs(args.NewProperty.Id, 848= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 858new PropertyDataChangedEventArgs( args.NewProperty.Id, 870new PropertyDataChangedEventArgs( args.NewProperty.Id,