4 writes to Color
PresentationCore (1)
System\Windows\Media\SolidColorBrush.cs (1)
33Color = color;
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
82background.Color = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); 86background.Color = Color.FromArgb(0xFF, 0x85, 0xD2, 0xF5); 90background.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)
1745Color color = ((SolidColorBrush)foregroundBrush).Color;
System\Windows\Media\Generated\SolidColorBrush.cs (1)
169data.Color = CompositionResourceManager.ColorToMilColorF(Color);
System\Windows\Media\SolidColorBrush.cs (2)
141string strColor = scp.Color.ConvertToString(null, System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS); 195string strBrush = Color.ConvertToString(format, provider);
PresentationFramework (16)
System\Windows\Annotations\AnnotationHelper.cs (5)
936alpha = brush.Color.A; 938alpha = (byte) (brush.Opacity * brush.Color.A); 940color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B);
System\Windows\Controls\Border.cs (1)
299|| ((originIndependentBrush.Color.A < 0xff) && !uniformBorders)
System\Windows\Controls\ProgressBar.cs (1)
188Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\StickyNote.cs (1)
1754da.Color = foreground.Color;
System\Windows\Controls\TextRangeAdaptor.cs (1)
1258Color color = (solidBrush != null) ? solidBrush.Color : Colors.Black;
System\Windows\Documents\FixedSOMTextRun.cs (2)
219thisBrush != null && otherBrush != null && thisBrush.Color == otherBrush.Color && thisBrush.Opacity == otherBrush.Opacity)
System\Windows\Documents\TextSchema.cs (2)
914return solidBrush1.Color.Equals(((SolidColorBrush)brush2).Color);
System\windows\Documents\TextSelection.cs (2)
1619backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color; 1635backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color;
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
99return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
413controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 416if (decorator._brushCache == null || controlColor != decorator._brushCache.LightBrush.Color) 925return (solidBrush != null && (solidBrush.Color.A == 0xFF || solidBrush.Color.A == 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
ReachFramework (19)
AlphaFlattener\BrushProxy.cs (10)
609return Utility.IsOpaque(y.Color.ScA); 698double opacity = _opacity * Utility.NormalizeOpacity(y.Color.ScA); 859return BlendColorWithBrush(_opacityOnly, Utility.Scale(sA.Color, _opacity), brushB, false); 866return BlendColorWithBrush(brushB._opacityOnly, Utility.Scale(sB.Color, brushB._opacity), this, true); 1159Color c = scb.Color; 2609Color c = sb.Color; 2626Color c = sb.Color; 2831if (Utility.IsTransparent(solidBrush.Color.ScA)) 3293Utility.NormalizeOpacity(sB.Color.ScA) * brushB._opacity 3303sB.Color,
AlphaFlattener\ImageProxy.cs (2)
265BlendUnderColor(Utility.Scale(sb.Color, brush.Opacity), 1, opacityOnly); 306BlendOverColor(Utility.Scale(sb.Color, brush.Opacity), 1.0, opacityOnly);
AlphaFlattener\Primitive.cs (1)
605Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity;
AlphaFlattener\PrimitiveList.cs (1)
196Console.Write(" SolidColorBrush({0})", sb.Color);
AlphaFlattener\Utility.cs (1)
1105return Utility.IsOpaque(sb.Color.ScA);
Serialization\VisualSerializer.cs (3)
341Color color = Utility.Scale(solidBrush.Color, solidBrush.Opacity); 693WriteAttr("Color", sb.Color); 2252opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * Utility.NormalizeOpacity(opacityMask.Opacity);
Serialization\VisualTreeFlattener.cs (1)
597Color color = colorBrush.Color;
WindowsFormsIntegration (2)
System\Windows\Integration\HostUtils.cs (1)
141return solid != null && solid.Color.A == 255;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
382brushColor = solidColorBrush.Color;