4 writes to Color
PresentationCore (1)
System\Windows\Media\SolidColorBrush.cs (1)
55Color = color;
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
85background.Color = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 89background.Color = Color.FromArgb(0xFF, 0x85, 0xD2, 0xF5); 93background.Color = Color.FromArgb(0xFF, 0xBC, 0xEC, 0xFC);
54 references to Color
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
LineSeparators\LineSeparatorTag.cs (1)
30return brush?.Color;
StringIndentation\StringIndentationTag.cs (1)
37return brush?.Color;
Utilities\BrushToColorConverter.cs (1)
17SolidColorBrush solidColorBrush => solidColorBrush.Color,
PresentationCore (4)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1756Color color = ((SolidColorBrush)foregroundBrush).Color;
System\Windows\Media\Generated\SolidColorBrush.cs (1)
197data.Color = CompositionResourceManager.ColorToMilColorF(Color);
System\Windows\Media\SolidColorBrush.cs (2)
163string strColor = scp.Color.ConvertToString(null, System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS); 217string strBrush = Color.ConvertToString(format, provider);
PresentationFramework (16)
System\Windows\Annotations\AnnotationHelper.cs (5)
950alpha = brush.Color.A; 952alpha = (byte) (brush.Opacity * brush.Color.A); 954color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B);
System\Windows\Controls\Border.cs (1)
303|| ((originIndependentBrush.Color.A < 0xff) && !uniformBorders)
System\Windows\Controls\ProgressBar.cs (1)
198Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\StickyNote.cs (1)
1795da.Color = foreground.Color;
System\Windows\Controls\TextRangeAdaptor.cs (1)
1260Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\FixedSOMTextRun.cs (2)
221thisBrush != null && otherBrush != null && thisBrush.Color == otherBrush.Color && thisBrush.Opacity == otherBrush.Opacity)
System\Windows\Documents\TextSchema.cs (2)
920return solidBrush1.Color.Equals(((SolidColorBrush)brush2).Color);
System\windows\Documents\TextSelection.cs (2)
1637backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color; 1653backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color;
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
108return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
416controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 419if (decorator._brushCache == null || controlColor != decorator._brushCache.LightBrush.Color) 924return (solidBrush != null && (solidBrush.Color.A == 0xFF || solidBrush.Color.A == 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
ReachFramework (19)
AlphaFlattener\BrushProxy.cs (10)
612return Utility.IsOpaque(y.Color.ScA); 701double opacity = _opacity * Utility.NormalizeOpacity(y.Color.ScA); 865return BlendColorWithBrush(_opacityOnly, Utility.Scale(sA.Color, _opacity), brushB, false); 872return BlendColorWithBrush(brushB._opacityOnly, Utility.Scale(sB.Color, brushB._opacity), this, true); 1165Color c = scb.Color; 2613Color c = sb.Color; 2630Color c = sb.Color; 2835if (Utility.IsTransparent(solidBrush.Color.ScA)) 3294Utility.NormalizeOpacity(sB.Color.ScA) * brushB._opacity 3304sB.Color,
AlphaFlattener\ImageProxy.cs (2)
272BlendUnderColor(Utility.Scale(sb.Color, brush.Opacity), 1, opacityOnly); 313BlendOverColor(Utility.Scale(sb.Color, brush.Opacity), 1.0, opacityOnly);
AlphaFlattener\Primitive.cs (1)
606Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity;
AlphaFlattener\PrimitiveList.cs (1)
203Console.Write(" SolidColorBrush({0})", sb.Color);
AlphaFlattener\Utility.cs (1)
1116return Utility.IsOpaque(sb.Color.ScA);
Serialization\VisualSerializer.cs (3)
349Color color = Utility.Scale(solidBrush.Color, solidBrush.Opacity); 700WriteAttr("Color", sb.Color); 2259opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * Utility.NormalizeOpacity(opacityMask.Opacity);
Serialization\VisualTreeFlattener.cs (1)
604Color color = colorBrush.Color;
WindowsFormsIntegration (2)
System\Windows\Integration\HostUtils.cs (1)
145return solid != null && solid.Color.A == 255;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
383brushColor = solidColorBrush.Color;