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