34 references to Id
PresentationCore (34)
MS\Internal\Ink\ExtendedProperty.cs (4)
34return Id.GetHashCode() ^ Value.GetHashCode(); 47if (that.Id == this.Id) 129return KnownIds.ConvertToString(Id) + "," + val;
MS\Internal\Ink\ExtendedPropertyCollection.cs (7)
108if (_extendedProperties[x].Id == attributeId) 203guids[i] = this[i].Id; 240if (currentProperty.Id == attributeId) 251new ExtendedProperty(currentProperty.Id, oldValue), //old prop 310System.Diagnostics.Debug.Assert(!this.Contains(extendedProperty.Id), "ExtendedProperty already belongs to the collection"); 339_extendedProperties[_optimisticIndex].Id == id) 347if (_extendedProperties[i].Id == id)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (7)
49if (attribute.Id == KnownIds.DrawingFlags) 53else if (attribute.Id == KnownIds.StylusTip) 60if (UsesEmbeddedTypeInformation(attribute.Id)) 69EncodeAttribute(attribute.Id, data, interopTypeInfo, stream); 738cbWrite += ExtendedPropertySerializer.EncodeAsISF(prop.Id, data, stream, guidList, compressionAlgorithm, fTag); 759if (0 == GuidList.FindKnownTag(attribute.Id)) 761guids[count++] = attribute.Id;
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
568if (epcClone[x].Id == KnownIds.StylusTipTransform) 576if (DrawingAttributes.RemoveIdFromExtendedProperties(epcClone[x].Id)) 578epcClone.Remove(epcClone[x].Id);
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
2136guidList.Add(attributes[i].Id); 2179guidList.Add(stroke.ExtendedProperties[i].Id);
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
769tag = guidList.FindTag(stroke.ExtendedProperties[(int)x].Id, false);
System\Windows\Ink\DrawingAttributes.cs (10)
794= DrawingAttributes.GetDefaultDrawingAttributeValue(args.OldProperty.Id); 798new ExtendedProperty( args.OldProperty.Id, 802new PropertyDataChangedEventArgs( args.OldProperty.Id, 811new PropertyDataChangedEventArgs( args.OldProperty.Id, 822= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 829new PropertyDataChangedEventArgs( args.NewProperty.Id, 839new PropertyDataChangedEventArgs(args.NewProperty.Id, 849= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.Id); 859new PropertyDataChangedEventArgs( args.NewProperty.Id, 871new PropertyDataChangedEventArgs( args.NewProperty.Id,