8 writes to Color
PresentationCore (4)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
268
da.
Color
= color;
411
da.
Color
= color;
MS\Internal\Ink\Renderer.cs (1)
82
da.
Color
= _renderer.GetHighContrastColor();
MS\Internal\Ink\StrokeRenderer.cs (1)
1097
copy.
Color
= GetHighlighterColor(copy.Color);
PresentationFramework (4)
MS\Internal\Ink\PenCursorManager.cs (2)
75
da.
Color
= Colors.Black;
329
da.
Color
= drawingAttributes.Color;
System\Windows\Controls\InkCanvas.cs (1)
2946
highContrastDa.
Color
= highContrastColor;
System\Windows\Controls\StickyNote.cs (1)
1779
da.
Color
= foreground.Color;
15 references to Color
PresentationCore (14)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
409
Color color = da.
Color
;
498
Color daColor = da.
Color
;
499
System.Diagnostics.Debug.Assert(da.
Color
!= (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!");
511
byte alphaChannel = da.
Color
.A;
MS\Internal\Ink\Renderer.cs (4)
48
_cachedColor = stroke.DrawingAttributes.
Color
;
491
StrokeRenderer.GetHighlighterColor(visual.CachedColor) != StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
)))
499
visual.CachedColor = stroke.DrawingAttributes.
Color
;
653
Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.
Color
);
MS\Internal\Ink\StrokeRenderer.cs (2)
1094
if (da.
Color
.A != SolidStrokeAlpha)
1097
copy.Color = GetHighlighterColor(copy.
Color
);
System\Windows\Ink\Stroke2.cs (2)
391
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
429
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
System\Windows\Ink\StrokeCollection2.cs (1)
379
Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
47
Color color = _drawingAttributes.
Color
;
PresentationFramework (1)
MS\Internal\Ink\PenCursorManager.cs (1)
329
da.Color = drawingAttributes.
Color
;