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