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