194 instantiations of SolidColorBrush
PresentationCore (9)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1757foregroundBrush = new SolidColorBrush(Color.FromArgb(
System\Windows\Ink\Stroke2.cs (2)
400SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color); 438SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
66SolidColorBrush brush = new SolidColorBrush(color);
System\Windows\Media\Generated\SolidColorBrush.cs (1)
126return new SolidColorBrush();
System\Windows\Media\Knowncolors.cs (1)
217scp = new SolidColorBrush(Color.FromUInt32(argb));
System\Windows\Media\Parsers.cs (3)
273return (new SolidColorBrush(ParseHexColor(trimmedColor))); 278return (new SolidColorBrush(ParseContextColor(trimmedColor, formatProvider, context))); 283return (new SolidColorBrush(ParseScRgbColor(trimmedColor, formatProvider)));
PresentationFramework (26)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1188return new SolidColorBrush(_activeOwners[0].SelectedBackground); 1191return _owners.Count > 0 ? new SolidColorBrush(_owners[0].Background) : null;
MS\Internal\Annotations\Component\HighlightComponent.cs (3)
259HighlightBrush = new SolidColorBrush(_background); 347HighlightBrush = new SolidColorBrush(_selectedBackground); 349HighlightBrush = new SolidColorBrush(_background);
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
561MarkerBrush = new SolidColorBrush(DefaultMarkerColor); 569MarkerBrush = new SolidColorBrush(DefaultActiveMarkerColor);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
48_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
MS\Internal\Documents\TextBoxView.cs (1)
540context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height));
MS\Internal\Ink\LassoHelper.cs (2)
304_brush = new SolidColorBrush(DotColor); 311_pen = new Pen(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
MS\Internal\Ink\PenCursorManager.cs (1)
452SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
MS\Internal\PtsHost\MbpInfo.cs (1)
94_borderBrush = new SolidColorBrush();
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1160border.SetValue(Border.BackgroundProperty, new SolidColorBrush(Color.FromUInt32(0xFF000080)));
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1935Brush selectionBrush = new SolidColorBrush(SystemColors.HighlightColor); 1945Brush selectionTextBrush = new SolidColorBrush(SystemColors.HighlightTextColor);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
44_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (2)
185Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight); 249pen.Brush = new SolidColorBrush(compositionLine.LineColor);
System\windows\Documents\SelectionHighlightInfo.cs (1)
29_objectMaskBrush = new SolidColorBrush(SystemColors.HighlightColor);
System\windows\Documents\TextSelection.cs (1)
1663caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
System\Windows\DwmColorization.cs (1)
171return new SolidColorBrush { Color = color, Opacity = opacity };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9126bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.SolidColorBrush(); };
System\Windows\Markup\KnownTypes.cs (1)
1542case KnownElements.SolidColorBrush: o = new System.Windows.Media.SolidColorBrush(); break;
System\Windows\SystemColors.cs (1)
1822brush = new SolidColorBrush(GetSystemColor(slot));
System\Windows\SystemParameters.cs (1)
5695var glassBrush = new SolidColorBrush(WindowGlassColor);
PresentationFramework.Aero (32)
Microsoft\Windows\Themes\BulletChrome.cs (13)
913temp.Brush = new SolidColorBrush(Colors.White); 937temp.Brush = new SolidColorBrush(Colors.White); 960temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 983temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1380temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1402temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1424temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 817temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 839temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 862temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 964temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
211sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 288bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 292bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 296bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 608temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
1083temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1107temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1131temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1210temp.Brush = new SolidColorBrush(Colors.White); 1281temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1768_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Aero2 (32)
Microsoft\Windows\Themes\BulletChrome.cs (13)
913temp.Brush = new SolidColorBrush(Colors.White); 937temp.Brush = new SolidColorBrush(Colors.White); 960temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 983temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1380temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1402temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1424temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 817temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 839temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 862temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 964temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
211sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 288bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 292bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 296bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 608temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
1083temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1107temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1131temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1210temp.Brush = new SolidColorBrush(Colors.White); 1281temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1768_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
PresentationFramework.AeroLite (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
80background = new SolidColorBrush(); 132sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1)); 136sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x4F, 0x90, 0xAE)); 140sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3)); 232arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 307SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 327SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 375temp.Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)); 399temp.Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)); 423temp.Brush = new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94)); 469SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
432decorator._brushCache.LightLightBrush = new SolidColorBrush(GetControlLightLightColor(controlColor)); 435decorator._brushCache.DarkBrush = new SolidColorBrush(darkColor); 444decorator._brushCache.DarkDarkBrush = new SolidColorBrush(darkDarkColor); 520SolidColorBrush temp = new SolidColorBrush();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
23return new SolidColorBrush(color);
PresentationFramework.Luna (49)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
560SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 584SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 609SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 1266SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1308SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
204SolidColorBrush tabStrokeBrush = new SolidColorBrush((themeColor == ThemeColor.Homestead) ? Color.FromArgb(0xFF, 0xCF, 0x72, 0x25) : Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 247border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 355arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (35)
1384SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1405SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1476SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1497SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1518SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1539SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1560SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1581SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1602SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1678SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1699SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1720SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1741SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1762SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1783SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1804SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1825SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1888temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1910temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1932temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1954temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1976temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2033temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2055temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2079temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2101temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2123temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2145temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2167temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2190temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2212temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2234temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2257temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
475SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
133SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 169border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 277arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (9)
833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 855SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 876SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 897SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 944SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 965SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1034temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1056temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1094temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
331brushes[Center] = new SolidColorBrush(c);
ReachFramework (9)
AlphaFlattener\BrushProxy.cs (9)
1454context.PushOpacityMask(new SolidColorBrush(_beforeDrawing)); 1471context.PushOpacityMask(new SolidColorBrush(_afterDrawing)); 1525context.DrawGeometry(new SolidColorBrush(_beforeDrawing), null, geometry); 1590context.DrawGeometry(new SolidColorBrush(_afterDrawing), null, geometry); 2725return CreateBrushCore(new SolidColorBrush(color), Rect.Empty); 2976Brush b = new SolidColorBrush(c); 3515s_EmptyBrush = new BrushProxy(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0))); 3604ctx.DrawRectangle(new SolidColorBrush(brush.BeforeFill), null, rect); 3611ctx.DrawRectangle(new SolidColorBrush(brush.AfterFill), null, rect);
589 references to SolidColorBrush
PresentationCore (166)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1754if(visiCodePath && foregroundBrush is SolidColorBrush) 1756Color color = ((SolidColorBrush)foregroundBrush).Color;
System\Windows\Ink\Stroke2.cs (2)
400SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color); 438SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (4)
48SolidColorBrush _fillBrush; // app thread based brushed 66SolidColorBrush brush = new SolidColorBrush(color); 116public SolidColorBrush FillBrush 848SolidColorBrush fillBrush = si.FillBrush;
System\Windows\Media\brushes.cs (141)
38public static SolidColorBrush AliceBlue 49public static SolidColorBrush AntiqueWhite 60public static SolidColorBrush Aqua 71public static SolidColorBrush Aquamarine 82public static SolidColorBrush Azure 93public static SolidColorBrush Beige 104public static SolidColorBrush Bisque 115public static SolidColorBrush Black 126public static SolidColorBrush BlanchedAlmond 137public static SolidColorBrush Blue 148public static SolidColorBrush BlueViolet 159public static SolidColorBrush Brown 170public static SolidColorBrush BurlyWood 181public static SolidColorBrush CadetBlue 192public static SolidColorBrush Chartreuse 203public static SolidColorBrush Chocolate 214public static SolidColorBrush Coral 225public static SolidColorBrush CornflowerBlue 236public static SolidColorBrush Cornsilk 247public static SolidColorBrush Crimson 258public static SolidColorBrush Cyan 269public static SolidColorBrush DarkBlue 280public static SolidColorBrush DarkCyan 291public static SolidColorBrush DarkGoldenrod 302public static SolidColorBrush DarkGray 313public static SolidColorBrush DarkGreen 324public static SolidColorBrush DarkKhaki 335public static SolidColorBrush DarkMagenta 346public static SolidColorBrush DarkOliveGreen 357public static SolidColorBrush DarkOrange 368public static SolidColorBrush DarkOrchid 379public static SolidColorBrush DarkRed 390public static SolidColorBrush DarkSalmon 401public static SolidColorBrush DarkSeaGreen 412public static SolidColorBrush DarkSlateBlue 423public static SolidColorBrush DarkSlateGray 434public static SolidColorBrush DarkTurquoise 445public static SolidColorBrush DarkViolet 456public static SolidColorBrush DeepPink 467public static SolidColorBrush DeepSkyBlue 478public static SolidColorBrush DimGray 489public static SolidColorBrush DodgerBlue 500public static SolidColorBrush Firebrick 511public static SolidColorBrush FloralWhite 522public static SolidColorBrush ForestGreen 533public static SolidColorBrush Fuchsia 544public static SolidColorBrush Gainsboro 555public static SolidColorBrush GhostWhite 566public static SolidColorBrush Gold 577public static SolidColorBrush Goldenrod 588public static SolidColorBrush Gray 599public static SolidColorBrush Green 610public static SolidColorBrush GreenYellow 621public static SolidColorBrush Honeydew 632public static SolidColorBrush HotPink 643public static SolidColorBrush IndianRed 654public static SolidColorBrush Indigo 665public static SolidColorBrush Ivory 676public static SolidColorBrush Khaki 687public static SolidColorBrush Lavender 698public static SolidColorBrush LavenderBlush 709public static SolidColorBrush LawnGreen 720public static SolidColorBrush LemonChiffon 731public static SolidColorBrush LightBlue 742public static SolidColorBrush LightCoral 753public static SolidColorBrush LightCyan 764public static SolidColorBrush LightGoldenrodYellow 775public static SolidColorBrush LightGray 786public static SolidColorBrush LightGreen 797public static SolidColorBrush LightPink 808public static SolidColorBrush LightSalmon 819public static SolidColorBrush LightSeaGreen 830public static SolidColorBrush LightSkyBlue 841public static SolidColorBrush LightSlateGray 852public static SolidColorBrush LightSteelBlue 863public static SolidColorBrush LightYellow 874public static SolidColorBrush Lime 885public static SolidColorBrush LimeGreen 896public static SolidColorBrush Linen 907public static SolidColorBrush Magenta 918public static SolidColorBrush Maroon 929public static SolidColorBrush MediumAquamarine 940public static SolidColorBrush MediumBlue 951public static SolidColorBrush MediumOrchid 962public static SolidColorBrush MediumPurple 973public static SolidColorBrush MediumSeaGreen 984public static SolidColorBrush MediumSlateBlue 995public static SolidColorBrush MediumSpringGreen 1006public static SolidColorBrush MediumTurquoise 1017public static SolidColorBrush MediumVioletRed 1028public static SolidColorBrush MidnightBlue 1039public static SolidColorBrush MintCream 1050public static SolidColorBrush MistyRose 1061public static SolidColorBrush Moccasin 1072public static SolidColorBrush NavajoWhite 1083public static SolidColorBrush Navy 1094public static SolidColorBrush OldLace 1105public static SolidColorBrush Olive 1116public static SolidColorBrush OliveDrab 1127public static SolidColorBrush Orange 1138public static SolidColorBrush OrangeRed 1149public static SolidColorBrush Orchid 1160public static SolidColorBrush PaleGoldenrod 1171public static SolidColorBrush PaleGreen 1182public static SolidColorBrush PaleTurquoise 1193public static SolidColorBrush PaleVioletRed 1204public static SolidColorBrush PapayaWhip 1215public static SolidColorBrush PeachPuff 1226public static SolidColorBrush Peru 1237public static SolidColorBrush Pink 1248public static SolidColorBrush Plum 1259public static SolidColorBrush PowderBlue 1270public static SolidColorBrush Purple 1281public static SolidColorBrush Red 1292public static SolidColorBrush RosyBrown 1303public static SolidColorBrush RoyalBlue 1314public static SolidColorBrush SaddleBrown 1325public static SolidColorBrush Salmon 1336public static SolidColorBrush SandyBrown 1347public static SolidColorBrush SeaGreen 1358public static SolidColorBrush SeaShell 1369public static SolidColorBrush Sienna 1380public static SolidColorBrush Silver 1391public static SolidColorBrush SkyBlue 1402public static SolidColorBrush SlateBlue 1413public static SolidColorBrush SlateGray 1424public static SolidColorBrush Snow 1435public static SolidColorBrush SpringGreen 1446public static SolidColorBrush SteelBlue 1457public static SolidColorBrush Tan 1468public static SolidColorBrush Teal 1479public static SolidColorBrush Thistle 1490public static SolidColorBrush Tomato 1501public static SolidColorBrush Transparent 1512public static SolidColorBrush Turquoise 1523public static SolidColorBrush Violet 1534public static SolidColorBrush Wheat 1545public static SolidColorBrush White 1556public static SolidColorBrush WhiteSmoke 1567public static SolidColorBrush Yellow 1578public static SolidColorBrush YellowGreen
System\Windows\Media\Generated\SolidColorBrush.cs (7)
59public new SolidColorBrush Clone() 61return (SolidColorBrush)base.Clone(); 68public new SolidColorBrush CloneCurrentValue() 70return (SolidColorBrush)base.CloneCurrentValue(); 86SolidColorBrush target = ((SolidColorBrush) d); 336Type typeofThis = typeof(SolidColorBrush);
System\Windows\Media\Knowncolors.cs (6)
184public static SolidColorBrush ColorStringToKnownBrush(string s) 200public static bool IsKnownSolidColorBrush(SolidColorBrush scp) 208public static SolidColorBrush SolidColorBrushFromUint(uint argb) 210SolidColorBrush scp = null; 690private static Dictionary<uint, SolidColorBrush> s_solidColorBrushCache = new Dictionary<uint, SolidColorBrush>();
System\Windows\Media\Parsers.cs (1)
288SolidColorBrush scp = KnownColors.ColorStringToKnownBrush(trimmedColor);
System\Windows\Media\SolidColorBrush.cs (3)
159SolidColorBrush scp = KnownColors.SolidColorBrushFromUint(knownColorUint); 333private static TwoWayDictionary<SolidColorBrush, string> s_knownSolidColorBrushStringCache = new TwoWayDictionary<SolidColorBrush, string>(keyComparer: ReferenceEqualityComparer.Instance);
PresentationFramework (75)
MS\Internal\Ink\PenCursorManager.cs (1)
452SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
System\Windows\Annotations\AnnotationHelper.cs (2)
941SolidColorBrush brush = highlightBrush as SolidColorBrush;
System\Windows\Controls\Border.cs (2)
294SolidColorBrush originIndependentBrush = borderBrush as SolidColorBrush;
System\Windows\Controls\ProgressBar.cs (2)
196if (this.Foreground is SolidColorBrush) 198Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\StickyNote.cs (2)
1784SolidColorBrush foreground = Foreground as SolidColorBrush;
System\Windows\Controls\TextRangeAdaptor.cs (2)
1259SolidColorBrush solidBrush = brush as SolidColorBrush;
System\Windows\Documents\FixedSOMTextRun.cs (4)
218SolidColorBrush thisBrush = this.Foreground as SolidColorBrush; 219SolidColorBrush otherBrush = run.Foreground as SolidColorBrush;
System\Windows\Documents\TextSchema.cs (3)
917SolidColorBrush solidBrush1 = brush1 as SolidColorBrush; 920return solidBrush1.Color.Equals(((SolidColorBrush)brush2).Color);
System\windows\Documents\TextSelection.cs (4)
1635backgroundPropertyValue is SolidColorBrush) 1637backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color; 1651if (backgroundPropertyValue is SolidColorBrush) 1653backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color;
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
108return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
System\Windows\DwmColorization.cs (2)
164/// Creates a <see cref="SolidColorBrush"/> from a <see cref="System.Windows.Media.Color"/> with defined brush opacity. 169private static SolidColorBrush ToBrush(Color color, double opacity = 1.0)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
674case 578: t = () => typeof(SolidColorBrush); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2527System.Windows.Media.SolidColorBrush brush = System.Windows.Media.SolidColorBrush.DeserializeFrom(binReader) as System.Windows.Media.SolidColorBrush;
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
41return System.Windows.Media.SolidColorBrush.DeserializeFrom(_reader,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7871Type type = typeof(System.Windows.Media.SolidColorBrush); 7872DependencyProperty dp = System.Windows.Media.SolidColorBrush.ColorProperty; 7874this.GetXamlType(typeof(System.Windows.Media.SolidColorBrush)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9124typeof(System.Windows.Media.SolidColorBrush),
System\Windows\Markup\BamlRecords.cs (1)
2779_valueObject = SolidColorBrush.DeserializeFrom(reader, bamlRecordReader.TypeConvertContext);
System\Windows\Markup\KnownTypes.cs (1)
6132case KnownElements.SolidColorBrush: t = typeof(System.Windows.Media.SolidColorBrush); break;
System\Windows\Markup\XamlBrushSerializer.cs (2)
77return SolidColorBrush.SerializeOn(writer, stringValue.Trim()); 100return SolidColorBrush.DeserializeFrom(reader);
System\Windows\SystemColors.cs (36)
847public static SolidColorBrush ActiveBorderBrush 858public static SolidColorBrush ActiveCaptionBrush 869public static SolidColorBrush ActiveCaptionTextBrush 880public static SolidColorBrush AppWorkspaceBrush 891public static SolidColorBrush ControlBrush 902public static SolidColorBrush ControlDarkBrush 913public static SolidColorBrush ControlDarkDarkBrush 924public static SolidColorBrush ControlLightBrush 935public static SolidColorBrush ControlLightLightBrush 946public static SolidColorBrush ControlTextBrush 957public static SolidColorBrush DesktopBrush 968public static SolidColorBrush GradientActiveCaptionBrush 979public static SolidColorBrush GradientInactiveCaptionBrush 990public static SolidColorBrush GrayTextBrush 1001public static SolidColorBrush HighlightBrush 1012public static SolidColorBrush HighlightTextBrush 1023public static SolidColorBrush HotTrackBrush 1034public static SolidColorBrush InactiveBorderBrush 1045public static SolidColorBrush InactiveCaptionBrush 1056public static SolidColorBrush InactiveCaptionTextBrush 1067public static SolidColorBrush InfoBrush 1078public static SolidColorBrush InfoTextBrush 1089public static SolidColorBrush MenuBrush 1100public static SolidColorBrush MenuBarBrush 1111public static SolidColorBrush MenuHighlightBrush 1122public static SolidColorBrush MenuTextBrush 1133public static SolidColorBrush ScrollBarBrush 1144public static SolidColorBrush WindowBrush 1155public static SolidColorBrush WindowFrameBrush 1166public static SolidColorBrush WindowTextBrush 1180public static SolidColorBrush InactiveSelectionHighlightBrush 1201public static SolidColorBrush InactiveSelectionHighlightTextBrush 1811private static SolidColorBrush MakeBrush(CacheSlot slot) 1813SolidColorBrush brush; 1944private static SolidColorBrush[] _brushCache = new SolidColorBrush[(int)CacheSlot.NumSlots];
System\Windows\SystemParameters.cs (1)
5695var glassBrush = new SolidColorBrush(WindowGlassColor);
PresentationFramework.Aero (64)
Microsoft\Windows\Themes\BulletChrome.cs (31)
132chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 133chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 183chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 184chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 189chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 190chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 274chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 275chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 350chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 353chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 525chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 526chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 1122private static SolidColorBrush CommonCheckMarkDisabledFill 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1142private static SolidColorBrush CommonCheckMarkFill 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1164private static SolidColorBrush CommonCheckMarkPressedFill 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1308private static SolidColorBrush CommonHoverBackgroundOverlay 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1328private static SolidColorBrush CommonPressedBackgroundOverlay 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1348private static SolidColorBrush CommonDisabledBackgroundOverlay 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 2360private static SolidColorBrush _commonCheckMarkDisabledFill; 2361private static SolidColorBrush _commonCheckMarkFill; 2362private static SolidColorBrush _commonCheckMarkPressedFill; 2390private static SolidColorBrush _commonDisabledBackgroundOverlay; 2393private static SolidColorBrush _commonHoverBackgroundOverlay; 2399private static SolidColorBrush _commonPressedBackgroundOverlay; 2415public SolidColorBrush BackgroundOverlay;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
142chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 160chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 218chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 247chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 256chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 257chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 307chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 308chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 327chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 346chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 347chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 352chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 744private static SolidColorBrush CommonDisabledBackgroundOverlay 754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1147private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
282SolidColorBrush bottomBrush = (SolidColorBrush)GetCachedFreezable((int)bottomType);
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
505private static SolidColorBrush CommonDisabledBackgroundOverlay 515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 671private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
128chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 134chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 166chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 168chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 229chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 250OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 327chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1721private static SolidColorBrush CommonThumbEnabledGlyphShadow 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1744private SolidColorBrush GlyphShadow 1788private static SolidColorBrush _commonThumbEnabledGlyphShadow; 1822public SolidColorBrush GlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Aero2 (64)
Microsoft\Windows\Themes\BulletChrome.cs (31)
132chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 133chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 183chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 184chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 189chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 190chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 274chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 275chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 350chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 353chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 525chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 526chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 1122private static SolidColorBrush CommonCheckMarkDisabledFill 1132SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1142private static SolidColorBrush CommonCheckMarkFill 1152SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1164private static SolidColorBrush CommonCheckMarkPressedFill 1174SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1308private static SolidColorBrush CommonHoverBackgroundOverlay 1318SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1328private static SolidColorBrush CommonPressedBackgroundOverlay 1338SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1348private static SolidColorBrush CommonDisabledBackgroundOverlay 1358SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 2360private static SolidColorBrush _commonCheckMarkDisabledFill; 2361private static SolidColorBrush _commonCheckMarkFill; 2362private static SolidColorBrush _commonCheckMarkPressedFill; 2390private static SolidColorBrush _commonDisabledBackgroundOverlay; 2393private static SolidColorBrush _commonHoverBackgroundOverlay; 2399private static SolidColorBrush _commonPressedBackgroundOverlay; 2415public SolidColorBrush BackgroundOverlay;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
142chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 160chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 218chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 247chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 256chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 257chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 307chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 308chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 327chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 346chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 347chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 352chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 744private static SolidColorBrush CommonDisabledBackgroundOverlay 754SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1147private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
282SolidColorBrush bottomBrush = (SolidColorBrush)GetCachedFreezable((int)bottomType);
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
505private static SolidColorBrush CommonDisabledBackgroundOverlay 515SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 671private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
128chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 134chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 166chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 168chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 229chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 250OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 327chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1721private static SolidColorBrush CommonThumbEnabledGlyphShadow 1731SolidColorBrush temp = new SolidColorBrush(Colors.White); 1744private SolidColorBrush GlyphShadow 1788private static SolidColorBrush _commonThumbEnabledGlyphShadow; 1822public SolidColorBrush GlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.AeroLite (19)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
77SolidColorBrush background = (SolidColorBrush)GetCachedFreezable((int)backgroundType); 229SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)AeroLiteFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (14)
277private static SolidColorBrush CommonThumbFill 287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 297private static SolidColorBrush CommonThumbHoverFill 307SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 317private static SolidColorBrush CommonThumbPressedFill 327SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 337private SolidColorBrush Fill 459private SolidColorBrush CommonThumbEnabledGlyph 469SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00)); 479private SolidColorBrush Glyph 501private static SolidColorBrush _commonThumbFill; 502private static SolidColorBrush _commonThumbHoverFill; 503private static SolidColorBrush _commonThumbPressedFill; 509private static SolidColorBrush _commonThumbEnabledGlyph;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Classic (10)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (9)
407SolidColorBrush controlBrush = decorator.Background as SolidColorBrush; 520SolidColorBrush temp = new SolidColorBrush(); 923SolidColorBrush solidBrush = borderBrush as SolidColorBrush; 1445public SolidColorBrush LightBrush; 1446public SolidColorBrush LightLightBrush; 1447public SolidColorBrush DarkBrush; 1448public SolidColorBrush DarkDarkBrush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
16if (value is SolidColorBrush brush)
PresentationFramework.Luna (90)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
560SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 584SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 609SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 1256private static SolidColorBrush CommonDisabledFillNC 1266SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1277private static SolidColorBrush CommonDisabledFillHS 1287SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1298private static SolidColorBrush CommonDisabledFillM 1308SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1486private static SolidColorBrush _commonDisabledFillNC; 1487private static SolidColorBrush _commonDisabledFillHS; 1488private static SolidColorBrush _commonDisabledFillM;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
204SolidColorBrush tabStrokeBrush = new SolidColorBrush((themeColor == ThemeColor.Homestead) ? Color.FromArgb(0xFF, 0xCF, 0x72, 0x25) : Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 244SolidColorBrush border = (SolidColorBrush)GetCachedFreezable((int)LunaFreezables.PressedBorder); 352SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)LunaFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (58)
1374private static SolidColorBrush CommonDisabledGlyph 1384SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1395private static SolidColorBrush CommonArrowGlyphNC 1405SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1416private static SolidColorBrush CommonArrowGlyphHS 1424private static SolidColorBrush CommonArrowGlyphM 1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1445private static SolidColorBrush CommonHoverArrowGlyphM 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1466private static SolidColorBrush CommonGripperGlyphNC 1476SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1487private static SolidColorBrush CommonHoverGripperGlyphNC 1497SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1508private static SolidColorBrush CommonPressedGripperGlyphNC 1518SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1529private static SolidColorBrush CommonGripperGlyphHS 1539SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1550private static SolidColorBrush CommonHoverGripperGlyphHS 1560SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1571private static SolidColorBrush CommonPressedGripperGlyphHS 1581SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1592private static SolidColorBrush CommonGripperGlyphM 1602SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1668private static SolidColorBrush CommonDisabledGripperGlyphShadow 1678SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1689private static SolidColorBrush CommonGripperGlyphShadowNC 1699SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1710private static SolidColorBrush CommonHoverGripperGlyphShadowNC 1720SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1731private static SolidColorBrush CommonPressedGripperGlyphShadowNC 1741SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1752private static SolidColorBrush CommonGripperGlyphShadowHS 1762SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1773private static SolidColorBrush CommonHoverGripperGlyphShadowHS 1783SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1794private static SolidColorBrush CommonPressedGripperGlyphShadowHS 1804SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1815private static SolidColorBrush CommonGripperGlyphShadowM 1825SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 2473private static SolidColorBrush _commonDisabledGlyph; 2475private static SolidColorBrush _commonArrowGlyphNC; 2476private static SolidColorBrush _commonArrowGlyphM; 2478private static SolidColorBrush _commonHoverArrowGlyphM; 2480private static SolidColorBrush _commonGripperGlyphNC; 2481private static SolidColorBrush _commonHoverGripperGlyphNC; 2482private static SolidColorBrush _commonPressedGripperGlyphNC; 2484private static SolidColorBrush _commonGripperGlyphHS; 2485private static SolidColorBrush _commonHoverGripperGlyphHS; 2486private static SolidColorBrush _commonPressedGripperGlyphHS; 2488private static SolidColorBrush _commonGripperGlyphM; 2490private static SolidColorBrush _commonDisabledGripperGlyphShadow; 2492private static SolidColorBrush _commonGripperGlyphShadowNC; 2493private static SolidColorBrush _commonHoverGripperGlyphShadowNC; 2494private static SolidColorBrush _commonPressedGripperGlyphShadowNC; 2496private static SolidColorBrush _commonGripperGlyphShadowHS; 2497private static SolidColorBrush _commonHoverGripperGlyphShadowHS; 2498private static SolidColorBrush _commonPressedGripperGlyphShadowHS; 2500private static SolidColorBrush _commonGripperGlyphShadowM;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (14)
527private static SolidColorBrush CommonDisabledGlyphFill 536private static SolidColorBrush CommonCheckMarkFill 546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 556private static SolidColorBrush CommonCheckMarkPressedFill 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 627private static SolidColorBrush CommonDisabledBackground 635private static SolidColorBrush CommonDisabledBorder 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 830private static SolidColorBrush CommonIndeterminateFill 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 977private static SolidColorBrush _commonCheckMarkFill; 978private static SolidColorBrush _commonCheckMarkPressedFill; 982private static SolidColorBrush _commonIndeterminateFill; 989private static SolidColorBrush _commonDisabledBorder;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Royale (40)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
475SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9)); 890private static SolidColorBrush CommonDisabledFill
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
133SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 166SolidColorBrush border = (SolidColorBrush)GetCachedFreezable((int)RoyaleFreezables.PressedBorder); 274SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)RoyaleFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (18)
823private static SolidColorBrush CommonDisabledGlyph 833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 845private static SolidColorBrush CommonArrowGlyph 855SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 866private static SolidColorBrush CommonHoverArrowGlyph 876SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 887private static SolidColorBrush CommonGripperGlyph 897SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 934private static SolidColorBrush CommonDisabledGripperGlyphShadow 944SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 955private static SolidColorBrush CommonGripperGlyphShadow 965SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1129private static SolidColorBrush _commonDisabledGlyph; 1131private static SolidColorBrush _commonArrowGlyph; 1133private static SolidColorBrush _commonHoverArrowGlyph; 1135private static SolidColorBrush _commonGripperGlyph; 1138private static SolidColorBrush _commonDisabledGripperGlyphShadow; 1140private static SolidColorBrush _commonGripperGlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (14)
527private static SolidColorBrush CommonDisabledGlyphFill 536private static SolidColorBrush CommonCheckMarkFill 546SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 556private static SolidColorBrush CommonCheckMarkPressedFill 566SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 627private static SolidColorBrush CommonDisabledBackground 635private static SolidColorBrush CommonDisabledBorder 645SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 830private static SolidColorBrush CommonIndeterminateFill 840SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 977private static SolidColorBrush _commonCheckMarkFill; 978private static SolidColorBrush _commonCheckMarkPressedFill; 982private static SolidColorBrush _commonIndeterminateFill; 989private static SolidColorBrush _commonDisabledBorder;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
448if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
ReachFramework (56)
AlphaFlattener\BrushProxy.cs (29)
415if (! (_brush is SolidColorBrush) && ! Utility.IsIdentity(_brush.RelativeTransform)) 608if (_brush is SolidColorBrush) 610SolidColorBrush y = _brush as SolidColorBrush; 697if (_brush is SolidColorBrush) 699SolidColorBrush y = _brush as SolidColorBrush; 792if (!(_brush is SolidColorBrush)) 861SolidColorBrush sA = _brush as SolidColorBrush; 868SolidColorBrush sB = brushB.Brush as SolidColorBrush; 1064else if (_brush is SolidColorBrush) 1116else if (!(_brush is SolidColorBrush)) 1161SolidColorBrush scb = _brush as SolidColorBrush; 1388if (!(_brush is SolidColorBrush)) 2136Debug.Assert(b._brush is SolidColorBrush, "SolidColorBrush expected"); 2207if (brushB is SolidColorBrush) 2609SolidColorBrush sb = brush as SolidColorBrush; 2626SolidColorBrush sb = brush as SolidColorBrush; 2831SolidColorBrush solidBrush = brush as SolidColorBrush; 3285if (brushB.Brush is SolidColorBrush) 3287SolidColorBrush sB = brushB.Brush as SolidColorBrush; 3479if (_brush is SolidColorBrush)
AlphaFlattener\DrawingContext.cs (1)
649if (b is SolidColorBrush)
AlphaFlattener\ImageProxy.cs (6)
268if (brush.Brush is SolidColorBrush) 270SolidColorBrush sb = brush.Brush as SolidColorBrush; 309if (brush.Brush is SolidColorBrush) 311SolidColorBrush sb = brush.Brush as SolidColorBrush;
AlphaFlattener\MetroDevice.cs (4)
186if (!(brush is SolidColorBrush)) 194if (!(pen.Brush is SolidColorBrush)) 202if (g.OpacityMask.BrushList == null && !(g.OpacityMask.Brush is SolidColorBrush)) 280if (foreground != null && !(foreground is SolidColorBrush))
AlphaFlattener\Optimizer.cs (1)
363if ((b != null) && ((b is SolidColorBrush) || (b is LinearGradientBrush)))
AlphaFlattener\Primitive.cs (2)
602SolidColorBrush sb = OpacityMask.Brush as SolidColorBrush;
AlphaFlattener\PrimitiveList.cs (2)
199SolidColorBrush sb = b as SolidColorBrush;
AlphaFlattener\Utility.cs (2)
1118SolidColorBrush sb = brush as SolidColorBrush;
Serialization\VisualSerializer.cs (7)
344SolidColorBrush solidBrush = brush as SolidColorBrush; 695SolidColorBrush sb = brush as SolidColorBrush; 2069if ((foreground is SolidColorBrush) && (_opacityMask == null)) 2255SolidColorBrush sb = opacityMask as SolidColorBrush;
Serialization\VisualTreeFlattener.cs (2)
617SolidColorBrush colorBrush = fixedPage.Background as SolidColorBrush;
WindowsFormsIntegration (4)
System\Windows\Integration\HostUtils.cs (2)
144SWM.SolidColorBrush solid = c as SWM.SolidColorBrush;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
380SWM.SolidColorBrush solidColorBrush = brush as SWM.SolidColorBrush;