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