8 writes to Color
PresentationCore (4)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
278
da.
Color
= color;
421
da.
Color
= color;
MS\Internal\Ink\Renderer.cs (1)
90
da.
Color
= _renderer.GetHighContrastColor();
MS\Internal\Ink\StrokeRenderer.cs (1)
1104
copy.
Color
= GetHighlighterColor(copy.Color);
PresentationFramework (4)
MS\Internal\Ink\PenCursorManager.cs (2)
80
da.
Color
= Colors.Black;
334
da.
Color
= drawingAttributes.Color;
System\Windows\Controls\InkCanvas.cs (1)
2958
highContrastDa.
Color
= highContrastColor;
System\Windows\Controls\StickyNote.cs (1)
1795
da.
Color
= foreground.Color;
15 references to Color
PresentationCore (14)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
419
Color color = da.
Color
;
508
Color daColor = da.
Color
;
509
System.Diagnostics.Debug.Assert(da.
Color
!= (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!");
521
byte alphaChannel = da.
Color
.A;
MS\Internal\Ink\Renderer.cs (4)
56
_cachedColor = stroke.DrawingAttributes.
Color
;
499
StrokeRenderer.GetHighlighterColor(visual.CachedColor) != StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
)))
507
visual.CachedColor = stroke.DrawingAttributes.
Color
;
661
Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.
Color
);
MS\Internal\Ink\StrokeRenderer.cs (2)
1101
if (da.
Color
.A != SolidStrokeAlpha)
1104
copy.Color = GetHighlighterColor(copy.
Color
);
System\Windows\Ink\Stroke2.cs (2)
400
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
438
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
System\Windows\Ink\StrokeCollection2.cs (1)
386
Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
61
Color color = _drawingAttributes.
Color
;
PresentationFramework (1)
MS\Internal\Ink\PenCursorManager.cs (1)
334
da.Color = drawingAttributes.
Color
;