12 references to Color
PresentationCore (12)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (1)
776if (id == KnownIds.Color)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
262else if (KnownIds.Color == guid) 495if (da.ContainsPropertyData(KnownIds.Color)) 498System.Diagnostics.Debug.Assert(da.Color != (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!"); 505cbData += SerializationHelper.Encode(stream, (uint)guidList.FindTag(KnownIds.Color, true));
System\Windows\Ink\DrawingAttributes.cs (7)
68if (!_extendedProperties.Contains(KnownIds.Color)) 70Debug.Assert(Colors.Black == (Color)GetDefaultDrawingAttributeValue(KnownIds.Color)); 73return (Color)GetExtendedPropertyBackedProperty(KnownIds.Color); 80SetExtendedPropertyBackedProperty(KnownIds.Color, value); 658if (KnownIds.Color == id) 722if (KnownIds.Color == id || 957if ( e.PropertyGuid == KnownIds.Color)