34 references to Id
PresentationCore (34)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (4)
47
return
Id
.GetHashCode() ^ Value.GetHashCode();
60
if (that.
Id
== this.
Id
)
142
return KnownIds.ConvertToString(
Id
) + "," + val;
Core\CSharp\MS\Internal\Ink\ExtendedPropertyCollection.cs (7)
120
if (_extendedProperties[x].
Id
== attributeId)
215
guids[i] = this[i].
Id
;
255
if (currentProperty.
Id
== attributeId)
266
new ExtendedProperty(currentProperty.
Id
, oldValue), //old prop
325
System.Diagnostics.Debug.Assert(!this.Contains(extendedProperty.
Id
), "ExtendedProperty already belongs to the collection");
354
_extendedProperties[_optimisticIndex].
Id
== id)
362
if (_extendedProperties[i].
Id
== id)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (7)
64
if (attribute.
Id
== KnownIds.DrawingFlags)
68
else if (attribute.
Id
== KnownIds.StylusTip)
75
if (UsesEmbeddedTypeInformation(attribute.
Id
))
84
EncodeAttribute(attribute.
Id
, data, interopTypeInfo, stream);
787
cbWrite += ExtendedPropertySerializer.EncodeAsISF(prop.
Id
, data, stream, guidList, compressionAlgorithm, fTag);
808
if (0 == GuidList.FindKnownTag(attribute.
Id
))
810
guids[count++] = attribute.
Id
;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
608
if (epcClone[x].
Id
== KnownIds.StylusTipTransform)
616
if (DrawingAttributes.RemoveIdFromExtendedProperties(epcClone[x].
Id
))
618
epcClone.Remove(epcClone[x].
Id
);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
2200
guidList.Add(attributes[i].
Id
);
2243
guidList.Add(stroke.ExtendedProperties[i].
Id
);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
815
tag = guidList.FindTag(stroke.ExtendedProperties[(int)x].
Id
, false);
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (10)
810
= DrawingAttributes.GetDefaultDrawingAttributeValue(args.OldProperty.
Id
);
814
new ExtendedProperty( args.OldProperty.
Id
,
818
new PropertyDataChangedEventArgs( args.OldProperty.
Id
,
827
new PropertyDataChangedEventArgs( args.OldProperty.
Id
,
839
= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.
Id
);
846
new PropertyDataChangedEventArgs( args.NewProperty.
Id
,
856
new PropertyDataChangedEventArgs(args.NewProperty.
Id
,
867
= DrawingAttributes.GetDefaultDrawingAttributeValue(args.NewProperty.
Id
);
877
new PropertyDataChangedEventArgs( args.NewProperty.
Id
,
889
new PropertyDataChangedEventArgs( args.NewProperty.
Id
,