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