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