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