161 references to SolidColorBrush
PresentationCore (7)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1777foregroundBrush = new SolidColorBrush(Color.FromArgb(
Core\CSharp\System\Windows\Ink\Stroke2.cs (2)
438SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color); 476SolidColorBrush brush = new SolidColorBrush(drawingAttributes.Color);
Core\CSharp\System\Windows\Media\KnownColors.cs (1)
220scp = new SolidColorBrush(Color.FromUInt32(argb));
Core\CSharp\System\Windows\Media\Parsers.cs (3)
276return (new SolidColorBrush(ParseHexColor(trimmedColor))); 281return (new SolidColorBrush(ParseContextColor(trimmedColor, formatProvider, context))); 286return (new SolidColorBrush(ParseScRgbColor(trimmedColor, formatProvider)));
PresentationFramework (22)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1209return new SolidColorBrush(_activeOwners[0].SelectedBackground); 1212return _owners.Count > 0 ? new SolidColorBrush(_owners[0].Background) : null;
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (3)
269HighlightBrush = new SolidColorBrush(_background); 363HighlightBrush = new SolidColorBrush(_selectedBackground); 365HighlightBrush = new SolidColorBrush(_background);
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
579MarkerBrush = new SolidColorBrush(DefaultMarkerColor); 587MarkerBrush = new SolidColorBrush(DefaultActiveMarkerColor);
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
56_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
541context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height));
src\Framework\MS\Internal\Ink\LassoHelper.cs (2)
308_brush = new SolidColorBrush(DotColor); 315_pen = new Pen(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
477SolidColorBrush brush2 = new SolidColorBrush(Color.FromRgb(180, 207, 248));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1163border.SetValue(Border.BackgroundProperty, new SolidColorBrush(Color.FromUInt32(0xFF000080)));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1966Brush selectionBrush = new SolidColorBrush(SystemColors.HighlightColor); 1976Brush selectionTextBrush = new SolidColorBrush(SystemColors.HighlightTextColor);
src\Framework\System\Windows\Documents\ColumnResizeAdorner.cs (1)
49_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
187Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight); 251pen.Brush = new SolidColorBrush(compositionLine.LineColor);
src\Framework\System\windows\Documents\SelectionHighlightInfo.cs (1)
35_objectMaskBrush = new SolidColorBrush(SystemColors.HighlightColor);
src\Framework\System\windows\Documents\TextSelection.cs (1)
1666caretBrush = new SolidColorBrush(Color.FromRgb(r, g, b));
src\Framework\System\Windows\SystemColors.cs (1)
1818brush = new SolidColorBrush(GetSystemColor(slot));
src\Framework\System\Windows\SystemParameters.cs (1)
6294var glassBrush = new SolidColorBrush(WindowGlassColor);
PresentationFramework.Aero (32)
Microsoft\Windows\Themes\BulletChrome.cs (13)
919temp.Brush = new SolidColorBrush(Colors.White); 943temp.Brush = new SolidColorBrush(Colors.White); 966temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 989temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1138SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xAE, 0xB7, 0xCF)); 1158SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1180SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x31, 0x34, 0x7C)); 1324SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xDE, 0xF9, 0xFA)); 1344SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xC2, 0xE4, 0xF6)); 1364SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 1386temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1408temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1430temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
760SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 823temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 845temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 868temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 970temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
213sideBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9)); 290bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xD5, 0xD5, 0xD5)); 294bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x93, 0xC9, 0xE3)); 298bottomBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x96, 0xD9, 0xF9));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
521SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xF4, 0xF4, 0xF4)); 614temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
1089temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1113temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1137temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1216temp.Brush = new SolidColorBrush(Colors.White); 1287temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF)); 1737SolidColorBrush temp = new SolidColorBrush(Colors.White); 1774_localResources.GlyphShadow = new SolidColorBrush(Colors.White);
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
336brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Classic (4)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
437decorator._brushCache.LightLightBrush = new SolidColorBrush(GetControlLightLightColor(controlColor)); 440decorator._brushCache.DarkBrush = new SolidColorBrush(darkColor); 449decorator._brushCache.DarkDarkBrush = new SolidColorBrush(darkDarkColor);
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
336brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Luna (49)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
568SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC7, 0xBA)); 592SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xCA, 0xC4, 0xB8)); 617SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xC4, 0xC3, 0xBF)); 1274SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF5, 0xF4, 0xEA)); 1295SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF6, 0xF2, 0xE9)); 1316SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xF1, 0xF1, 0xED));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
206SolidColorBrush 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)); 357arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (35)
1390SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xC9, 0xC9, 0xC2)); 1411SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x4D, 0x61, 0x85)); 1440SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x3F, 0x3D, 0x3D)); 1461SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x20, 0x20, 0x20)); 1482SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xF4, 0xFE)); 1503SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFC, 0xFD, 0xFF)); 1524SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xCF, 0xDD, 0xFD)); 1545SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xD0, 0xDF, 0xAC)); 1566SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xEB, 0xF5, 0xD4)); 1587SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xD0, 0x97)); 1608SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1684SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 1705SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0xB0, 0xF8)); 1726SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x9C, 0xC5, 0xFF)); 1747SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x9E, 0xD8)); 1768SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8C, 0x9D, 0x73)); 1789SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB6, 0xC6, 0x8E)); 1810SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 1831SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x95, 0xA2)); 1894temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1916temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1938temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1960temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1982temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2039temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2061temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2085temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2107temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2129temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2151temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2173temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2196temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2218temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2240temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2263temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
551SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 571SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 650SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 845SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
336brushes[Center] = new SolidColorBrush(c);
PresentationFramework.Royale (18)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
483SolidColorBrush brush = new SolidColorBrush(Color.FromArgb(0xFF,0xC6,0xC5,0xC9));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
135SolidColorBrush tabStrokeBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0xF8, 0xA9, 0x00)); 171border = new SolidColorBrush(Color.FromArgb(0xFF, 0x80, 0x80, 0x99)); 279arrowFill = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xA8, 0x99));
Microsoft\Windows\Themes\ScrollChrome.cs (9)
839SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB7, 0xCB, 0xE3)); 861SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x64, 0x73)); 882SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x6B, 0x7B, 0x84)); 903SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 950SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0xB9, 0xB9, 0xB2)); 971SolidColorBrush temp = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x97, 0xAF)); 1040temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1062temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1100temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (4)
551SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0x21)); 571SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x1A, 0x7E, 0x18)); 650SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0xCA, 0xC8, 0xBB)); 845SolidColorBrush temp = new SolidColorBrush(Color.FromRgb(0x73, 0xC2, 0x73));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
336brushes[Center] = new SolidColorBrush(c);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
34Background = new SolidColorBrush(Colors.White),
System.Activities.Presentation (28)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (1)
32Add(keyValuePair.Key, new SolidColorBrush(color));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (4)
35this.renderBrush = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBackgroundColor); 36this.renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), 1.0); 40this.renderBrush = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementBackgroundColor); 41this.renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementBorderColor), 1.0);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (1)
29SolidColorBrush renderBrush = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (2)
601SolidColorBrush renderBrush = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBackgroundColor); 603Pen renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
270this.Foreground = new SolidColorBrush(SystemColors.ControlTextColor); 1173Fill = new SolidColorBrush(WorkflowDesignerColors.DesignerViewBackgroundColor),
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (3)
24Background = new SolidColorBrush(WorkflowDesignerColors.DesignerViewBackgroundColor), 25BorderBrush = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementBorderColor), 31Foreground = new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementCaptionColor),
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (13)
631resources[WorkflowDesignerColors.PropertyInspectorTextBrushKey] = new SolidColorBrush(SystemColors.ControlTextColor); 632resources[WorkflowDesignerColors.PropertyInspectorBackgroundBrushKey] = new SolidColorBrush(SystemColors.WindowColor); 633resources[WorkflowDesignerColors.PropertyInspectorBorderBrushKey] = new SolidColorBrush(SystemColors.ControlDarkColor); 634resources[WorkflowDesignerColors.PropertyInspectorPaneBrushKey] = new SolidColorBrush(SystemColors.ControlColor); 635resources[WorkflowDesignerColors.PropertyInspectorSelectedBackgroundBrushKey] = new SolidColorBrush(SystemColors.HighlightColor); 636resources[WorkflowDesignerColors.PropertyInspectorSelectedForegroundBrushKey] = new SolidColorBrush(SystemColors.HighlightTextColor); 637resources[WorkflowDesignerColors.PropertyInspectorToolBarItemHoverBackgroundBrushKey] = new SolidColorBrush(SystemColors.GradientActiveCaptionColor); 638resources[WorkflowDesignerColors.PropertyInspectorToolBarItemHoverBorderBrushKey] = new SolidColorBrush(SystemColors.ActiveCaptionTextColor); 639resources[WorkflowDesignerColors.PropertyInspectorToolBarItemSelectedBackgroundBrushKey] = new SolidColorBrush(SystemColors.GradientInactiveCaptionColor); 640resources[WorkflowDesignerColors.PropertyInspectorToolBarItemSelectedBorderBrushKey] = new SolidColorBrush(SystemColors.ActiveCaptionTextColor); 641resources[WorkflowDesignerColors.PropertyInspectorToolBarBackgroundBrushKey] = new SolidColorBrush(SystemColors.ControlColor); 642resources[WorkflowDesignerColors.PropertyInspectorToolBarSeparatorBrushKey] = new SolidColorBrush(SystemColors.ControlDarkColor); 643resources[WorkflowDesignerColors.PropertyInspectorToolBarTextBoxBorderBrushKey] = new SolidColorBrush(SystemColors.ControlDarkDarkColor);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
78this.text.Foreground = new SolidColorBrush(SystemColors.GrayTextColor);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
94text.Foreground = new SolidColorBrush(SystemColors.GrayTextColor);