4 writes to Color
PresentationCore (1)
System\Windows\Media\GradientStop.cs (1)
51Color = color;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (3)
2432gs.Color = Utility.Scale(gsA.Color, gsB.Color.ScA); 2436gs.Color = Utility.Scale(gsB.Color, gsA.Color.ScA); 2440gs.Color = Utility.BlendColor(gsA.Color, gsB.Color);
24 references to Color
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Utilities\BrushToColorConverter.cs (1)
18GradientBrush gradientBrush => gradientBrush.GradientStops.FirstOrDefault()?.Color ?? Colors.Transparent,
PresentationCore (3)
System\Windows\Media\Generated\GradientStop.cs (1)
241Color,
System\Windows\Media\LinearGradientBrush.cs (1)
208stopCmd.Color = CompositionResourceManager.ColorToMilColorF(gradStop.Color);
System\Windows\Media\RadialGradientBrush.cs (1)
157stopCmd.Color = CompositionResourceManager.ColorToMilColorF(gradStop.Color);
ReachFramework (19)
AlphaFlattener\BrushProxy.cs (18)
621if (!Utility.IsOpaque(gs.Color.ScA)) 712double opacity = _opacity * Utility.NormalizeOpacity(gs.Color.ScA); 2001Color color0 = stop0.Color; 2002Color color1 = stop1.Color; 2032Color c = BlendStopColor(color, gs.Color, pre); 2051Color prevColor = Utility.NormalizeColor(prevStop.Color); 2063currentColor = Utility.NormalizeColor(currentStop.Color); 2117prevColor = BlendStopColor(color, prevStop.Color, pre); 2432gs.Color = Utility.Scale(gsA.Color, gsB.Color.ScA); 2436gs.Color = Utility.Scale(gsB.Color, gsA.Color.ScA); 2440gs.Color = Utility.BlendColor(gsA.Color, gsB.Color); 2954Color c = gsc[0].Color; 2958if (!Utility.IsTransparent(gs.Color.ScA)) 2963if (!Color.AreClose(c, gs.Color)) 3741MyColor color = new MyColor(stops[i].Color, _ciMode);
Serialization\VisualSerializer.cs (1)
402WriteAttr("Color", ColorToString(stop.Color));
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
398brushColor = firstStop.Color;