12 references to Color
PresentationCore (12)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (1)
830
if (id == KnownIds.
Color
)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
283
else if (KnownIds.
Color
== guid)
527
if (da.ContainsPropertyData(KnownIds.
Color
))
530
System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.
Color
), "Color was put in the EPC for the default value!");
537
cbData += SerializationHelper.Encode(stream, (uint)guidList.FindTag(KnownIds.
Color
, true));
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (7)
82
if (!_extendedProperties.Contains(KnownIds.
Color
))
84
Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.
Color
));
87
return (Color)GetExtendedPropertyBackedProperty(KnownIds.
Color
);
94
SetExtendedPropertyBackedProperty(KnownIds.
Color
, value);
672
if (KnownIds.
Color
== id)
738
if (KnownIds.
Color
== id ||
976
if ( e.PropertyGuid == KnownIds.
Color
)