211 instantiations of SolidColorBrush
Microsoft.CodeAnalysis.EditorFeatures.Wpf (11)
Adornments\BrushTag.cs (1)
32=> _brush ??= new SolidColorBrush(this.GetColor(view, _editorFormatMap) ?? s_lightGray);
InlineDiagnostics\InlineDiagnosticsFormatDefinition.cs (5)
37BackgroundBrush = new SolidColorBrush(Color.FromRgb(252, 62, 54)); 38ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0)); 57BackgroundBrush = new SolidColorBrush(Color.FromRgb(149, 219, 125)); 58ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0)); 78ForegroundBrush = new SolidColorBrush(Color.FromRgb(0, 0, 0));
InlineHints\InlineHintsFormatDefinition.cs (2)
35this.ForegroundBrush = new SolidColorBrush(Color.FromRgb(104, 104, 104)); 36this.BackgroundBrush = new SolidColorBrush(Color.FromRgb(230, 230, 230));
InlineRename\HighlightTags\RenameFieldBackgroundAndBorderTagDefinition.cs (1)
27this.Border = new Pen(new SolidColorBrush(Color.FromRgb(0xFF, 0xFF, 0xFF)), thickness: 2.0);
PreviewWarningTagDefinition.cs (1)
27this.Border = new Pen(new SolidColorBrush(Color.FromRgb(230, 117, 64)), thickness: 1.5);
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
27this.Border = new Pen(new SolidColorBrush(Colors.Gray), 0.5);
Microsoft.VisualStudio.LanguageServices (6)
ChangeSignature\ChangeSignatureDialog.xaml.cs (6)
63ParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0x1E, 0x1E, 0x1E)); 64RemovedParameterText = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Gray); 65DisabledParameterBackground = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xDF, 0xE7, 0xF3)); 66DisabledParameterForeground = SystemParameters.HighContrast ? SystemColors.GrayTextBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xA2, 0xA4, 0xA5)); 67Members.Background = SystemParameters.HighContrast ? SystemColors.WindowBrush : new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 68StrikethroughBrush = SystemParameters.HighContrast ? SystemColors.WindowTextBrush : new SolidColorBrush(Colors.Red);
PresentationCore (9)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1746foregroundBrush = new SolidColorBrush(Color.FromArgb(
System\Windows\Ink\Stroke2.cs (2)
385SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color); 423SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
52SolidColorBrush brush = new SolidColorBrush(color);
System\Windows\Media\Generated\SolidColorBrush.cs (1)
98return new SolidColorBrush();
System\Windows\Media\Knowncolors.cs (1)
216scp = new SolidColorBrush(Color.FromUInt32(argb));
System\Windows\Media\Parsers.cs (3)
259return (new SolidColorBrush(ParseHexColor(trimmedColor))); 264return (new SolidColorBrush(ParseContextColor(trimmedColor, formatProvider, context))); 269return (new SolidColorBrush(ParseScRgbColor(trimmedColor, formatProvider)));
PresentationFramework (26)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1178return new SolidColorBrush(_activeOwners[0].SelectedBackground); 1181return _owners.Count > 0 ? new SolidColorBrush(_owners[0].Background) : null;
MS\Internal\Annotations\Component\HighlightComponent.cs (3)
251HighlightBrush = new SolidColorBrush(_background); 339HighlightBrush = new SolidColorBrush(_selectedBackground); 341HighlightBrush = new SolidColorBrush(_background);
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
554MarkerBrush = new SolidColorBrush(DefaultMarkerColor); 561MarkerBrush = new SolidColorBrush(DefaultActiveMarkerColor);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
41_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
MS\Internal\Documents\TextBoxView.cs (1)
496context.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)
295_brush = new SolidColorBrush(DotColor); 302_pen = new Pen(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness)
MS\Internal\Ink\PenCursorManager.cs (1)
445SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
MS\Internal\PtsHost\MbpInfo.cs (1)
92_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)
1859Brush selectionBrush = new SolidColorBrush(SystemColors.HighlightColor); 1869Brush selectionTextBrush = new SolidColorBrush(SystemColors.HighlightTextColor);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
36_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (2)
182Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight); 246pen.Brush = new SolidColorBrush(compositionLine.LineColor);
System\windows\Documents\SelectionHighlightInfo.cs (1)
29_objectMaskBrush = new SolidColorBrush(SystemColors.HighlightColor)
System\windows\Documents\TextSelection.cs (1)
1645caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10103DefaultConstructor = delegate () { return new System.Windows.Media.SolidColorBrush(); },
System\Windows\Markup\KnownTypes.cs (1)
1536case KnownElements.SolidColorBrush: o = new System.Windows.Media.SolidColorBrush(); break;
System\Windows\SystemColors.cs (2)
2317brush = new SolidColorBrush(GetSystemColor(slot)); 2339brush = new SolidColorBrush(GetAccentColor(slot));
System\Windows\SystemParameters.cs (1)
5677var glassBrush = new SolidColorBrush(WindowGlassColor);
PresentationFramework.Aero (32)
Microsoft\Windows\Themes\BulletChrome.cs (13)
924Brush = new SolidColorBrush(Colors.White) 950Brush = new SolidColorBrush(Colors.White) 977Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)) 1002Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)) 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1419Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1443Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 1467Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ButtonChrome.cs (5)
758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 822Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 846Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 871Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 978Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
214sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 295bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 299bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 303bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 609Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (7)
1109Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)) 1135Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1161Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)) 1242Brush = new SolidColorBrush(Colors.White) 1317Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)) 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1831_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
327brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Aero2 (32)
Microsoft\Windows\Themes\BulletChrome.cs (13)
924Brush = new SolidColorBrush(Colors.White) 950Brush = new SolidColorBrush(Colors.White) 977Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)) 1002Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)) 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1419Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1443Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 1467Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ButtonChrome.cs (5)
758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 822Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 846Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)) 871Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)) 978Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
214sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 295bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 299bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 303bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 609Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (7)
1109Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)) 1135Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)) 1161Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)) 1242Brush = new SolidColorBrush(Colors.White) 1317Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)) 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1831_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
327brushes[Center] = new SolidColorBrush(c);
PresentationFramework.AeroLite (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
77background = new SolidColorBrush(); 129sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xDE, 0xDF, 0xE1)); 133sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x4F, 0x90, 0xAE)); 137sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x69, 0xBB, 0xE3)); 229arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x00, 0x00));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
281SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 301SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 321SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 370Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)) 396Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)) 422Brush = 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)
327brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Classic (5)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
429decorator._brushCache.LightLightBrush = new SolidColorBrush(GetControlLightLightColor(controlColor)); 432decorator._brushCache.DarkBrush = new SolidColorBrush(darkColor); 443decorator._brushCache.DarkDarkBrush = new SolidColorBrush(darkDarkColor); 519SolidColorBrush temp = new SolidColorBrush();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
327brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
19return new SolidColorBrush(color);
PresentationFramework.Luna (49)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
555SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 579SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 604SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 1293SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1314SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1335SolidColorBrush 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)); 249border = new SolidColorBrush((themeColor == ThemeColor.Metallic) ? Color.FromArgb(0xFF, 0x80, 0x80, 0x99) : Color.FromArgb(0xFF, 0xA5, 0xA5, 0x97)); 359arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (35)
1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1484SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1505SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1526SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1547SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1568SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1589SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1610SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1631SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1652SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1728SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1749SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1770SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1791SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1812SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1854SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1939Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 1963Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 1987Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)) 2011Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)) 2035Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)) 2094Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)) 2118Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)) 2144Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)) 2168Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)) 2192Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)) 2216Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)) 2240Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)) 2265Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)) 2289Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 2313Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) 2338Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
327brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
470SolidColorBrush 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)); 171border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 281arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (9)
853SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 896SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 917SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 964SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 985SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1057Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)) 1081Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)) 1121Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
327brushes[Center] = new SolidColorBrush(c);
ReachFramework (9)
AlphaFlattener\BrushProxy.cs (9)
1449context.PushOpacityMask(new SolidColorBrush(_beforeDrawing)); 1466context.PushOpacityMask(new SolidColorBrush(_afterDrawing)); 1520context.DrawGeometry(new SolidColorBrush(_beforeDrawing), null, geometry); 1585context.DrawGeometry(new SolidColorBrush(_afterDrawing), null, geometry); 2721return CreateBrushCore(new SolidColorBrush(color), Rect.Empty); 2972Brush b = new SolidColorBrush(c) 3513s_EmptyBrush = new BrushProxy(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0))); 3602ctx.DrawRectangle(new SolidColorBrush(brush.BeforeFill), null, rect); 3609ctx.DrawRectangle(new SolidColorBrush(brush.AfterFill), null, rect);
601 references to SolidColorBrush
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
LineSeparators\LineSeparatorTag.cs (2)
29var brush = view.VisualElement.TryFindResource("outlining.verticalrule.foreground") as SolidColorBrush;
StringIndentation\StringIndentationTag.cs (2)
36var brush = view.VisualElement.TryFindResource("outlining.verticalrule.foreground") as SolidColorBrush;
Utilities\BrushToColorConverter.cs (1)
17SolidColorBrush solidColorBrush => solidColorBrush.Color,
PresentationCore (166)
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
1743if(visiCodePath && foregroundBrush is SolidColorBrush) 1745Color color = ((SolidColorBrush)foregroundBrush).Color;
System\Windows\Ink\Stroke2.cs (2)
385SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color); 423SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (4)
34SolidColorBrush _fillBrush; // app thread based brushed 52SolidColorBrush brush = new SolidColorBrush(color); 102public SolidColorBrush FillBrush 825SolidColorBrush fillBrush = si.FillBrush;
System\Windows\Media\brushes.cs (141)
33public static SolidColorBrush AliceBlue 44public static SolidColorBrush AntiqueWhite 55public static SolidColorBrush Aqua 66public static SolidColorBrush Aquamarine 77public static SolidColorBrush Azure 88public static SolidColorBrush Beige 99public static SolidColorBrush Bisque 110public static SolidColorBrush Black 121public static SolidColorBrush BlanchedAlmond 132public static SolidColorBrush Blue 143public static SolidColorBrush BlueViolet 154public static SolidColorBrush Brown 165public static SolidColorBrush BurlyWood 176public static SolidColorBrush CadetBlue 187public static SolidColorBrush Chartreuse 198public static SolidColorBrush Chocolate 209public static SolidColorBrush Coral 220public static SolidColorBrush CornflowerBlue 231public static SolidColorBrush Cornsilk 242public static SolidColorBrush Crimson 253public static SolidColorBrush Cyan 264public static SolidColorBrush DarkBlue 275public static SolidColorBrush DarkCyan 286public static SolidColorBrush DarkGoldenrod 297public static SolidColorBrush DarkGray 308public static SolidColorBrush DarkGreen 319public static SolidColorBrush DarkKhaki 330public static SolidColorBrush DarkMagenta 341public static SolidColorBrush DarkOliveGreen 352public static SolidColorBrush DarkOrange 363public static SolidColorBrush DarkOrchid 374public static SolidColorBrush DarkRed 385public static SolidColorBrush DarkSalmon 396public static SolidColorBrush DarkSeaGreen 407public static SolidColorBrush DarkSlateBlue 418public static SolidColorBrush DarkSlateGray 429public static SolidColorBrush DarkTurquoise 440public static SolidColorBrush DarkViolet 451public static SolidColorBrush DeepPink 462public static SolidColorBrush DeepSkyBlue 473public static SolidColorBrush DimGray 484public static SolidColorBrush DodgerBlue 495public static SolidColorBrush Firebrick 506public static SolidColorBrush FloralWhite 517public static SolidColorBrush ForestGreen 528public static SolidColorBrush Fuchsia 539public static SolidColorBrush Gainsboro 550public static SolidColorBrush GhostWhite 561public static SolidColorBrush Gold 572public static SolidColorBrush Goldenrod 583public static SolidColorBrush Gray 594public static SolidColorBrush Green 605public static SolidColorBrush GreenYellow 616public static SolidColorBrush Honeydew 627public static SolidColorBrush HotPink 638public static SolidColorBrush IndianRed 649public static SolidColorBrush Indigo 660public static SolidColorBrush Ivory 671public static SolidColorBrush Khaki 682public static SolidColorBrush Lavender 693public static SolidColorBrush LavenderBlush 704public static SolidColorBrush LawnGreen 715public static SolidColorBrush LemonChiffon 726public static SolidColorBrush LightBlue 737public static SolidColorBrush LightCoral 748public static SolidColorBrush LightCyan 759public static SolidColorBrush LightGoldenrodYellow 770public static SolidColorBrush LightGray 781public static SolidColorBrush LightGreen 792public static SolidColorBrush LightPink 803public static SolidColorBrush LightSalmon 814public static SolidColorBrush LightSeaGreen 825public static SolidColorBrush LightSkyBlue 836public static SolidColorBrush LightSlateGray 847public static SolidColorBrush LightSteelBlue 858public static SolidColorBrush LightYellow 869public static SolidColorBrush Lime 880public static SolidColorBrush LimeGreen 891public static SolidColorBrush Linen 902public static SolidColorBrush Magenta 913public static SolidColorBrush Maroon 924public static SolidColorBrush MediumAquamarine 935public static SolidColorBrush MediumBlue 946public static SolidColorBrush MediumOrchid 957public static SolidColorBrush MediumPurple 968public static SolidColorBrush MediumSeaGreen 979public static SolidColorBrush MediumSlateBlue 990public static SolidColorBrush MediumSpringGreen 1001public static SolidColorBrush MediumTurquoise 1012public static SolidColorBrush MediumVioletRed 1023public static SolidColorBrush MidnightBlue 1034public static SolidColorBrush MintCream 1045public static SolidColorBrush MistyRose 1056public static SolidColorBrush Moccasin 1067public static SolidColorBrush NavajoWhite 1078public static SolidColorBrush Navy 1089public static SolidColorBrush OldLace 1100public static SolidColorBrush Olive 1111public static SolidColorBrush OliveDrab 1122public static SolidColorBrush Orange 1133public static SolidColorBrush OrangeRed 1144public static SolidColorBrush Orchid 1155public static SolidColorBrush PaleGoldenrod 1166public static SolidColorBrush PaleGreen 1177public static SolidColorBrush PaleTurquoise 1188public static SolidColorBrush PaleVioletRed 1199public static SolidColorBrush PapayaWhip 1210public static SolidColorBrush PeachPuff 1221public static SolidColorBrush Peru 1232public static SolidColorBrush Pink 1243public static SolidColorBrush Plum 1254public static SolidColorBrush PowderBlue 1265public static SolidColorBrush Purple 1276public static SolidColorBrush Red 1287public static SolidColorBrush RosyBrown 1298public static SolidColorBrush RoyalBlue 1309public static SolidColorBrush SaddleBrown 1320public static SolidColorBrush Salmon 1331public static SolidColorBrush SandyBrown 1342public static SolidColorBrush SeaGreen 1353public static SolidColorBrush SeaShell 1364public static SolidColorBrush Sienna 1375public static SolidColorBrush Silver 1386public static SolidColorBrush SkyBlue 1397public static SolidColorBrush SlateBlue 1408public static SolidColorBrush SlateGray 1419public static SolidColorBrush Snow 1430public static SolidColorBrush SpringGreen 1441public static SolidColorBrush SteelBlue 1452public static SolidColorBrush Tan 1463public static SolidColorBrush Teal 1474public static SolidColorBrush Thistle 1485public static SolidColorBrush Tomato 1496public static SolidColorBrush Transparent 1507public static SolidColorBrush Turquoise 1518public static SolidColorBrush Violet 1529public static SolidColorBrush Wheat 1540public static SolidColorBrush White 1551public static SolidColorBrush WhiteSmoke 1562public static SolidColorBrush Yellow 1573public static SolidColorBrush YellowGreen
System\Windows\Media\Generated\SolidColorBrush.cs (7)
31public new SolidColorBrush Clone() 33return (SolidColorBrush)base.Clone(); 40public new SolidColorBrush CloneCurrentValue() 42return (SolidColorBrush)base.CloneCurrentValue(); 58SolidColorBrush target = ((SolidColorBrush) d); 308Type typeofThis = typeof(SolidColorBrush);
System\Windows\Media\Knowncolors.cs (6)
183public static SolidColorBrush ColorStringToKnownBrush(string s) 199public static bool IsKnownSolidColorBrush(SolidColorBrush scp) 207public static SolidColorBrush SolidColorBrushFromUint(uint argb) 209SolidColorBrush scp = null; 834private static Dictionary<uint, SolidColorBrush> s_solidColorBrushCache = new Dictionary<uint, SolidColorBrush>();
System\Windows\Media\Parsers.cs (1)
274SolidColorBrush scp = KnownColors.ColorStringToKnownBrush(trimmedColor);
System\Windows\Media\SolidColorBrush.cs (3)
135SolidColorBrush scp = KnownColors.SolidColorBrushFromUint(knownColorUint); 309private static TwoWayDictionary<SolidColorBrush, string> s_knownSolidColorBrushStringCache = new TwoWayDictionary<SolidColorBrush, string>(keyComparer: ReferenceEqualityComparer.Instance);
PresentationFramework (82)
MS\Internal\Ink\PenCursorManager.cs (1)
445SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
System\Windows\Annotations\AnnotationHelper.cs (2)
927SolidColorBrush brush = highlightBrush as SolidColorBrush;
System\Windows\Controls\Border.cs (2)
290SolidColorBrush originIndependentBrush = borderBrush as SolidColorBrush;
System\Windows\Controls\ProgressBar.cs (2)
186if (this.Foreground is SolidColorBrush) 188Color color = ((SolidColorBrush)this.Foreground).Color;
System\Windows\Controls\StickyNote.cs (2)
1743SolidColorBrush foreground = Foreground as SolidColorBrush;
System\Windows\Controls\TextRangeAdaptor.cs (2)
1257SolidColorBrush solidBrush = brush as SolidColorBrush;
System\Windows\Documents\FixedSOMTextRun.cs (4)
216SolidColorBrush thisBrush = this.Foreground as SolidColorBrush; 217SolidColorBrush otherBrush = run.Foreground as SolidColorBrush;
System\Windows\Documents\TextSchema.cs (3)
911SolidColorBrush solidBrush1 = brush1 as SolidColorBrush; 914return solidBrush1.Color.Equals(((SolidColorBrush)brush2).Color);
System\windows\Documents\TextSelection.cs (4)
1617backgroundPropertyValue is SolidColorBrush) 1619backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color; 1633if (backgroundPropertyValue is SolidColorBrush) 1635backgroundColor = ((SolidColorBrush)backgroundPropertyValue).Color;
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
99return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
672case 578: t = () => typeof(SolidColorBrush); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
2521System.Windows.Media.SolidColorBrush brush = System.Windows.Media.SolidColorBrush.DeserializeFrom(binReader) as System.Windows.Media.SolidColorBrush;
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
38return System.Windows.Media.SolidColorBrush.DeserializeFrom(_reader,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
8503Type type = typeof(System.Windows.Media.SolidColorBrush); 8504DependencyProperty dp = System.Windows.Media.SolidColorBrush.ColorProperty; 8506this.GetXamlType(typeof(System.Windows.Media.SolidColorBrush)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10100typeof(System.Windows.Media.SolidColorBrush),
System\Windows\Markup\BamlRecords.cs (1)
2767_valueObject = SolidColorBrush.DeserializeFrom(reader, bamlRecordReader.TypeConvertContext);
System\Windows\Markup\KnownTypes.cs (1)
6126case KnownElements.SolidColorBrush: t = typeof(System.Windows.Media.SolidColorBrush); break;
System\Windows\Markup\XamlBrushSerializer.cs (2)
68return SolidColorBrush.SerializeOn(writer, stringValue.Trim()); 91return SolidColorBrush.DeserializeFrom(reader);
System\Windows\SystemColors.cs (45)
1035public static SolidColorBrush ActiveBorderBrush 1046public static SolidColorBrush ActiveCaptionBrush 1057public static SolidColorBrush ActiveCaptionTextBrush 1068public static SolidColorBrush AppWorkspaceBrush 1079public static SolidColorBrush ControlBrush 1090public static SolidColorBrush ControlDarkBrush 1101public static SolidColorBrush ControlDarkDarkBrush 1112public static SolidColorBrush ControlLightBrush 1123public static SolidColorBrush ControlLightLightBrush 1134public static SolidColorBrush ControlTextBrush 1145public static SolidColorBrush DesktopBrush 1156public static SolidColorBrush GradientActiveCaptionBrush 1167public static SolidColorBrush GradientInactiveCaptionBrush 1178public static SolidColorBrush GrayTextBrush 1189public static SolidColorBrush HighlightBrush 1200public static SolidColorBrush HighlightTextBrush 1211public static SolidColorBrush HotTrackBrush 1222public static SolidColorBrush InactiveBorderBrush 1233public static SolidColorBrush InactiveCaptionBrush 1244public static SolidColorBrush InactiveCaptionTextBrush 1255public static SolidColorBrush InfoBrush 1266public static SolidColorBrush InfoTextBrush 1277public static SolidColorBrush MenuBrush 1288public static SolidColorBrush MenuBarBrush 1299public static SolidColorBrush MenuHighlightBrush 1310public static SolidColorBrush MenuTextBrush 1321public static SolidColorBrush ScrollBarBrush 1332public static SolidColorBrush WindowBrush 1343public static SolidColorBrush WindowFrameBrush 1354public static SolidColorBrush WindowTextBrush 1368public static SolidColorBrush InactiveSelectionHighlightBrush 1389public static SolidColorBrush InactiveSelectionHighlightTextBrush 1411public static SolidColorBrush AccentColorBrush 1432public static SolidColorBrush AccentColorLight1Brush 1453public static SolidColorBrush AccentColorLight2Brush 1474public static SolidColorBrush AccentColorLight3Brush 1495public static SolidColorBrush AccentColorDark1Brush 1516public static SolidColorBrush AccentColorDark2Brush 1537public static SolidColorBrush AccentColorDark3Brush 2306private static SolidColorBrush MakeBrush(CacheSlot slot) 2308SolidColorBrush brush; 2329private static SolidColorBrush MakeAccentBrush(CacheSlot slot) 2331SolidColorBrush brush; 2468private static SolidColorBrush[] _brushCache = new SolidColorBrush[(int)CacheSlot.NumSlots];
System\Windows\SystemParameters.cs (1)
5677var glassBrush = new SolidColorBrush(WindowGlassColor);
PresentationFramework.Aero (64)
Microsoft\Windows\Themes\BulletChrome.cs (31)
128chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 129chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 179chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 180chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 187chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 188chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 272chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 273chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 348chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 351chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 531chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 532chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 1154private static SolidColorBrush CommonCheckMarkDisabledFill 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1174private static SolidColorBrush CommonCheckMarkFill 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1196private static SolidColorBrush CommonCheckMarkPressedFill 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1346private static SolidColorBrush CommonHoverBackgroundOverlay 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1366private static SolidColorBrush CommonPressedBackgroundOverlay 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1386private static SolidColorBrush CommonDisabledBackgroundOverlay 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 2451private static SolidColorBrush _commonCheckMarkDisabledFill; 2452private static SolidColorBrush _commonCheckMarkFill; 2453private static SolidColorBrush _commonCheckMarkPressedFill; 2481private static SolidColorBrush _commonDisabledBackgroundOverlay; 2484private static SolidColorBrush _commonHoverBackgroundOverlay; 2490private static SolidColorBrush _commonPressedBackgroundOverlay; 2506public SolidColorBrush BackgroundOverlay;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
133chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 153chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 213chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 242chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 253chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 254chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 304chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 305chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 324chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 345chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 346chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 353chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 748private static SolidColorBrush CommonDisabledBackgroundOverlay 758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1166private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
289SolidColorBrush bottomBrush = (SolidColorBrush)GetCachedFreezable((int)bottomType);
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
500private static SolidColorBrush CommonDisabledBackgroundOverlay 510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 673private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
123chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 129chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 165chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 167chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 232chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 253OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 330chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1782private static SolidColorBrush CommonThumbEnabledGlyphShadow 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1807private SolidColorBrush GlyphShadow 1851private static SolidColorBrush _commonThumbEnabledGlyphShadow; 1885public SolidColorBrush GlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Aero2 (64)
Microsoft\Windows\Themes\BulletChrome.cs (31)
128chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 129chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 179chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 180chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 187chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 188chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 272chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 273chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 348chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 351chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.ColorProperty, ca); 531chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 532chrome.GlyphFill.BeginAnimation(SolidColorBrush.OpacityProperty, da); 1154private static SolidColorBrush CommonCheckMarkDisabledFill 1164SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1174private static SolidColorBrush CommonCheckMarkFill 1184SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1196private static SolidColorBrush CommonCheckMarkPressedFill 1206SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)) 1346private static SolidColorBrush CommonHoverBackgroundOverlay 1356SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1366private static SolidColorBrush CommonPressedBackgroundOverlay 1376SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1386private static SolidColorBrush CommonDisabledBackgroundOverlay 1396SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 2451private static SolidColorBrush _commonCheckMarkDisabledFill; 2452private static SolidColorBrush _commonCheckMarkFill; 2453private static SolidColorBrush _commonCheckMarkPressedFill; 2481private static SolidColorBrush _commonDisabledBackgroundOverlay; 2484private static SolidColorBrush _commonHoverBackgroundOverlay; 2490private static SolidColorBrush _commonPressedBackgroundOverlay; 2506public SolidColorBrush BackgroundOverlay;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
133chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 153chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 213chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 242chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 253chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 254chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 304chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 305chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 324chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 345chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 346chrome.BackgroundOverlay.BeginAnimation(SolidColorBrush.OpacityProperty, da); 353chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 748private static SolidColorBrush CommonDisabledBackgroundOverlay 758SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1166private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
289SolidColorBrush bottomBrush = (SolidColorBrush)GetCachedFreezable((int)bottomType);
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
500private static SolidColorBrush CommonDisabledBackgroundOverlay 510SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 673private static SolidColorBrush _commonDisabledBackgroundOverlay;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
123chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 129chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 165chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 167chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 232chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 253OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 330chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1782private static SolidColorBrush CommonThumbEnabledGlyphShadow 1792SolidColorBrush temp = new SolidColorBrush(Colors.White) 1807private SolidColorBrush GlyphShadow 1851private static SolidColorBrush _commonThumbEnabledGlyphShadow; 1885public SolidColorBrush GlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.AeroLite (19)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
74SolidColorBrush background = (SolidColorBrush)GetCachedFreezable((int)backgroundType); 226SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)AeroLiteFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (14)
271private static SolidColorBrush CommonThumbFill 281SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xDD, 0xDD, 0xDD)); 291private static SolidColorBrush CommonThumbHoverFill 301SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 311private static SolidColorBrush CommonThumbPressedFill 321SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xE6, 0xFD)); 331private 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)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Classic (10)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (9)
404SolidColorBrush controlBrush = decorator.Background as SolidColorBrush; 519SolidColorBrush temp = new SolidColorBrush(); 924SolidColorBrush solidBrush = borderBrush as SolidColorBrush; 1450public SolidColorBrush LightBrush; 1451public SolidColorBrush LightLightBrush; 1452public SolidColorBrush DarkBrush; 1453public SolidColorBrush DarkDarkBrush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
12if (value is SolidColorBrush brush)
PresentationFramework.Luna (90)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
555SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 579SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 604SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 1283private static SolidColorBrush CommonDisabledFillNC 1293SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1304private static SolidColorBrush CommonDisabledFillHS 1314SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1325private static SolidColorBrush CommonDisabledFillM 1335SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED)); 1521private static SolidColorBrush _commonDisabledFillNC; 1522private static SolidColorBrush _commonDisabledFillHS; 1523private 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)); 246SolidColorBrush border = (SolidColorBrush)GetCachedFreezable((int)LunaFreezables.PressedBorder); 356SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)LunaFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (58)
1424private static SolidColorBrush CommonDisabledGlyph 1434SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1445private static SolidColorBrush CommonArrowGlyphNC 1455SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1466private static SolidColorBrush CommonArrowGlyphHS 1474private static SolidColorBrush CommonArrowGlyphM 1484SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1495private static SolidColorBrush CommonHoverArrowGlyphM 1505SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1516private static SolidColorBrush CommonGripperGlyphNC 1526SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1537private static SolidColorBrush CommonHoverGripperGlyphNC 1547SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1558private static SolidColorBrush CommonPressedGripperGlyphNC 1568SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1579private static SolidColorBrush CommonGripperGlyphHS 1589SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1600private static SolidColorBrush CommonHoverGripperGlyphHS 1610SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1621private static SolidColorBrush CommonPressedGripperGlyphHS 1631SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1642private static SolidColorBrush CommonGripperGlyphM 1652SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1718private static SolidColorBrush CommonDisabledGripperGlyphShadow 1728SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1739private static SolidColorBrush CommonGripperGlyphShadowNC 1749SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1760private static SolidColorBrush CommonHoverGripperGlyphShadowNC 1770SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1781private static SolidColorBrush CommonPressedGripperGlyphShadowNC 1791SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1802private static SolidColorBrush CommonGripperGlyphShadowHS 1812SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1823private static SolidColorBrush CommonHoverGripperGlyphShadowHS 1833SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1844private static SolidColorBrush CommonPressedGripperGlyphShadowHS 1854SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1865private static SolidColorBrush CommonGripperGlyphShadowM 1875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 2561private static SolidColorBrush _commonDisabledGlyph; 2563private static SolidColorBrush _commonArrowGlyphNC; 2564private static SolidColorBrush _commonArrowGlyphM; 2566private static SolidColorBrush _commonHoverArrowGlyphM; 2568private static SolidColorBrush _commonGripperGlyphNC; 2569private static SolidColorBrush _commonHoverGripperGlyphNC; 2570private static SolidColorBrush _commonPressedGripperGlyphNC; 2572private static SolidColorBrush _commonGripperGlyphHS; 2573private static SolidColorBrush _commonHoverGripperGlyphHS; 2574private static SolidColorBrush _commonPressedGripperGlyphHS; 2576private static SolidColorBrush _commonGripperGlyphM; 2578private static SolidColorBrush _commonDisabledGripperGlyphShadow; 2580private static SolidColorBrush _commonGripperGlyphShadowNC; 2581private static SolidColorBrush _commonHoverGripperGlyphShadowNC; 2582private static SolidColorBrush _commonPressedGripperGlyphShadowNC; 2584private static SolidColorBrush _commonGripperGlyphShadowHS; 2585private static SolidColorBrush _commonHoverGripperGlyphShadowHS; 2586private static SolidColorBrush _commonPressedGripperGlyphShadowHS; 2588private static SolidColorBrush _commonGripperGlyphShadowM;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (14)
525private static SolidColorBrush CommonDisabledGlyphFill 534private static SolidColorBrush CommonCheckMarkFill 544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 554private static SolidColorBrush CommonCheckMarkPressedFill 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 626private static SolidColorBrush CommonDisabledBackground 634private static SolidColorBrush CommonDisabledBorder 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 841private static SolidColorBrush CommonIndeterminateFill 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 990private static SolidColorBrush _commonCheckMarkFill; 991private static SolidColorBrush _commonCheckMarkPressedFill; 995private static SolidColorBrush _commonIndeterminateFill; 1002private static SolidColorBrush _commonDisabledBorder;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
PresentationFramework.Royale (40)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
470SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9)); 903private static SolidColorBrush CommonDisabledFill
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (5)
133SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 168SolidColorBrush border = (SolidColorBrush)GetCachedFreezable((int)RoyaleFreezables.PressedBorder); 278SolidColorBrush arrowFill = (SolidColorBrush)GetCachedFreezable((int)RoyaleFreezables.ArrowFill);
Microsoft\Windows\Themes\ScrollChrome.cs (18)
843private static SolidColorBrush CommonDisabledGlyph 853SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 865private static SolidColorBrush CommonArrowGlyph 875SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 886private static SolidColorBrush CommonHoverArrowGlyph 896SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 907private static SolidColorBrush CommonGripperGlyph 917SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 954private static SolidColorBrush CommonDisabledGripperGlyphShadow 964SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 975private static SolidColorBrush CommonGripperGlyphShadow 985SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1157private static SolidColorBrush _commonDisabledGlyph; 1159private static SolidColorBrush _commonArrowGlyph; 1161private static SolidColorBrush _commonHoverArrowGlyph; 1163private static SolidColorBrush _commonGripperGlyph; 1166private static SolidColorBrush _commonDisabledGripperGlyphShadow; 1168private static SolidColorBrush _commonGripperGlyphShadow;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (14)
525private static SolidColorBrush CommonDisabledGlyphFill 534private static SolidColorBrush CommonCheckMarkFill 544SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 554private static SolidColorBrush CommonCheckMarkPressedFill 564SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 626private static SolidColorBrush CommonDisabledBackground 634private static SolidColorBrush CommonDisabledBorder 644SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 841private static SolidColorBrush CommonIndeterminateFill 851SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73)); 990private static SolidColorBrush _commonCheckMarkFill; 991private static SolidColorBrush _commonCheckMarkPressedFill; 995private static SolidColorBrush _commonIndeterminateFill; 1002private static SolidColorBrush _commonDisabledBorder;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
452if (c == ((SolidColorBrush)_commonBrushes[Center]).Color &&
ReachFramework (56)
AlphaFlattener\BrushProxy.cs (29)
412if (! (_brush is SolidColorBrush) && ! Utility.IsIdentity(_brush.RelativeTransform)) 605if (_brush is SolidColorBrush) 607SolidColorBrush y = _brush as SolidColorBrush; 694if (_brush is SolidColorBrush) 696SolidColorBrush y = _brush as SolidColorBrush; 789if (!(_brush is SolidColorBrush)) 855SolidColorBrush sA = _brush as SolidColorBrush; 862SolidColorBrush sB = brushB.Brush as SolidColorBrush; 1058else if (_brush is SolidColorBrush) 1110else if (!(_brush is SolidColorBrush)) 1155SolidColorBrush scb = _brush as SolidColorBrush; 1382if (!(_brush is SolidColorBrush)) 2131Debug.Assert(b._brush is SolidColorBrush, "SolidColorBrush expected"); 2202if (brushB is SolidColorBrush) 2605SolidColorBrush sb = brush as SolidColorBrush; 2622SolidColorBrush sb = brush as SolidColorBrush; 2827SolidColorBrush solidBrush = brush as SolidColorBrush; 3284if (brushB.Brush is SolidColorBrush) 3286SolidColorBrush sB = brushB.Brush as SolidColorBrush; 3477if (_brush is SolidColorBrush)
AlphaFlattener\DrawingContext.cs (1)
647if (b is SolidColorBrush)
AlphaFlattener\ImageProxy.cs (6)
261if (brush.Brush is SolidColorBrush) 263SolidColorBrush sb = brush.Brush as SolidColorBrush; 302if (brush.Brush is SolidColorBrush) 304SolidColorBrush sb = brush.Brush as SolidColorBrush;
AlphaFlattener\MetroDevice.cs (4)
181if (!(brush is SolidColorBrush)) 189if (!(pen.Brush is SolidColorBrush)) 197if (g.OpacityMask.BrushList == null && !(g.OpacityMask.Brush is SolidColorBrush)) 276if (foreground != null && !(foreground is SolidColorBrush))
AlphaFlattener\Optimizer.cs (1)
360if ((b != null) && ((b is SolidColorBrush) || (b is LinearGradientBrush)))
AlphaFlattener\Primitive.cs (2)
601SolidColorBrush sb = OpacityMask.Brush as SolidColorBrush;
AlphaFlattener\PrimitiveList.cs (2)
192SolidColorBrush sb = b as SolidColorBrush;
AlphaFlattener\Utility.cs (2)
1101SolidColorBrush sb = brush as SolidColorBrush;
Serialization\VisualSerializer.cs (7)
336SolidColorBrush solidBrush = brush as SolidColorBrush; 688SolidColorBrush sb = brush as SolidColorBrush; 2062if ((foreground is SolidColorBrush) && (_opacityMask == null)) 2248SolidColorBrush sb = opacityMask as SolidColorBrush;
Serialization\VisualTreeFlattener.cs (2)
593SolidColorBrush colorBrush = fixedPage.Background as SolidColorBrush;
WindowsFormsIntegration (4)
System\Windows\Integration\HostUtils.cs (2)
140SWM.SolidColorBrush solid = c as SWM.SolidColorBrush;
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
379SWM.SolidColorBrush solidColorBrush = brush as SWM.SolidColorBrush;