8 writes to Color
PresentationCore (4)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
288
da.
Color
= color;
431
da.
Color
= color;
Core\CSharp\MS\Internal\Ink\Renderer.cs (1)
95
da.
Color
= _renderer.GetHighContrastColor();
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
1117
copy.
Color
= GetHighlighterColor(copy.Color);
PresentationFramework (4)
src\Framework\MS\Internal\Ink\PenCursorManager.cs (2)
87
da.
Color
= Colors.Black;
359
da.
Color
= drawingAttributes.Color;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3105
highContrastDa.
Color
= highContrastColor;
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1832
da.
Color
= foreground.Color;
14 references to Color
PresentationCore (13)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (4)
429
Color color = da.
Color
;
529
Color daColor = da.
Color
;
530
System.Diagnostics.Debug.Assert(da.
Color
!= (Color)DrawingAttributes.GetDefaultDrawingAttributeValue(KnownIds.Color), "Color was put in the EPC for the default value!");
542
byte alphaChannel = da.
Color
.A;
Core\CSharp\MS\Internal\Ink\Renderer.cs (4)
61
_cachedColor = stroke.DrawingAttributes.
Color
;
517
StrokeRenderer.GetHighlighterColor(visual.CachedColor) != StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
)))
525
visual.CachedColor = stroke.DrawingAttributes.
Color
;
679
Color color = StrokeRenderer.GetHighlighterColor(drawingAttributes.
Color
);
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (2)
1114
if (da.
Color
.A != SolidStrokeAlpha)
1117
copy.Color = GetHighlighterColor(copy.
Color
);
Core\CSharp\System\Windows\Ink\Stroke2.cs (2)
438
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
476
SolidColorBrush brush = new SolidColorBrush(drawingAttributes.
Color
);
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
408
Color color = StrokeRenderer.GetHighlighterColor(stroke.DrawingAttributes.
Color
);
PresentationFramework (1)
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
359
da.Color = drawingAttributes.
Color
;