159 references to SolidBrush
PresentationUI (2)
MS\Internal\Documents\DialogDivider.cs (1)
80
new Pen(new
SolidBrush
(System.Drawing.SystemColors.ControlDark)),
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
1011
SolidBrush cellBackground = new
SolidBrush
(
System.Drawing.Common.Tests (120)
mono\System.Drawing\GraphicsTests.cs (2)
873
using SolidBrush brush =
new
(Color.Red);
888
using SolidBrush brush =
new
(Color.Red);
System\Drawing\BufferedGraphicsTests.cs (3)
46
using SolidBrush brush =
new
(Color.Red);
66
using SolidBrush brush =
new
(Color.Red);
91
using SolidBrush brush =
new
(Color.Red);
System\Drawing\GraphicsTests.Core.cs (5)
139
SolidBrush brush =
new
(Color.Red);
152
using SolidBrush brush =
new
(Color.Red);
163
using SolidBrush brush =
new
(Color.Red);
174
using SolidBrush brush =
new
(Color.Red);
191
using SolidBrush brush =
new
(Color.Red);
System\Drawing\GraphicsTests.cs (12)
311
using SolidBrush transparentBlackBrush =
new
(transparentBlack);
312
using SolidBrush transparentWhiteBrush =
new
(transparentWhite);
403
using SolidBrush transparentBlackBrush =
new
(transparentBlack);
404
using SolidBrush transparentWhiteBrush =
new
(transparentWhite);
1069
using SolidBrush brush =
new
(red);
1557
using SolidBrush brush =
new
(color);
2671
SolidBrush brush =
new
(Color.Red);
2684
using SolidBrush brush =
new
(Color.Red);
2695
using SolidBrush brush =
new
(Color.Red);
2706
using SolidBrush brush =
new
(Color.Red);
2724
using SolidBrush brush =
new
(Color.Red);
2740
using SolidBrush brush =
new
(color);
System\Drawing\Imaging\ImageAttributesTests.cs (9)
93
using SolidBrush brush =
new
(_actualGreen);
126
using SolidBrush brush =
new
(color);
172
using SolidBrush brush =
new
(_actualYellow);
203
using SolidBrush brush =
new
(_actualYellow);
299
using SolidBrush brush =
new
(_actualYellow);
341
using SolidBrush brush =
new
(_actualGreen);
364
using SolidBrush brush =
new
(_actualGreen);
391
using SolidBrush brush =
new
(_actualGreen);
420
using SolidBrush brush =
new
(_actualGreen);
System\Drawing\PenTests.cs (81)
13
yield return new object[] { new
SolidBrush
(Color.Red), PenType.SolidColor };
41
yield return new object[] { new
SolidBrush
(Color.Red), 0, PenType.SolidColor };
48
yield return new object[] { new
SolidBrush
(Color.Red), float.PositiveInfinity, PenType.SolidColor };
49
yield return new object[] { new
SolidBrush
(Color.Red), float.NaN, PenType.SolidColor };
50
yield return new object[] { new
SolidBrush
(Color.Red), float.MaxValue, PenType.SolidColor };
67
using SolidBrush brush =
new
(Color.Red);
84
SolidBrush brush =
new
(Color.Red);
122
using SolidBrush brush =
new
(Color.Red);
133
using SolidBrush brush =
new
(Color.Red);
141
using SolidBrush brush =
new
(Color.Red);
174
using SolidBrush brush =
new
(Color.Red);
182
using SolidBrush brush =
new
(Color.Red);
191
using SolidBrush brush =
new
(Color.Red);
201
using SolidBrush brush =
new
(Color.Red);
227
using SolidBrush brush =
new
(Color.Red);
237
using SolidBrush brush =
new
(Color.Red);
296
using SolidBrush brush =
new
(Color.Red);
310
using SolidBrush brush =
new
(Color.Red);
323
using SolidBrush brush =
new
(Color.Red);
331
using SolidBrush brush =
new
(Color.Red);
347
using SolidBrush brush =
new
(Color.Red);
355
using SolidBrush brush =
new
(Color.Red);
366
using SolidBrush brush =
new
(Color.Red);
383
using SolidBrush brush =
new
(Color.Red);
391
using SolidBrush brush =
new
(Color.Red);
404
using SolidBrush brush =
new
(Color.Red);
418
using SolidBrush brush =
new
(Color.Red);
435
using SolidBrush brush =
new
(Color.Red);
443
using SolidBrush brush =
new
(Color.Red);
456
using SolidBrush brush =
new
(Color.Red);
473
using SolidBrush brush =
new
(Color.Red);
485
using SolidBrush brush =
new
(Color.Red);
493
using SolidBrush brush =
new
(Color.Red);
510
using SolidBrush brush =
new
(Color.Red);
519
using SolidBrush brush =
new
(Color.Red);
534
using SolidBrush brush =
new
(Color.Red);
548
using SolidBrush brush =
new
(Color.Red);
556
using SolidBrush brush =
new
(Color.Red);
568
using SolidBrush brush =
new
(Color.Red);
576
using SolidBrush brush =
new
(Color.Red);
593
using SolidBrush brush =
new
(Color.Red);
611
using SolidBrush brush =
new
(Color.Red);
625
using SolidBrush brush =
new
(Color.Red);
633
using SolidBrush brush =
new
(Color.Red);
660
using SolidBrush brush =
new
(Color.Red);
679
using SolidBrush brush =
new
(Color.Red);
687
using SolidBrush brush =
new
(Color.Red);
702
using SolidBrush brush =
new
(Color.Red);
713
using SolidBrush brush =
new
(Color.Red);
721
using SolidBrush brush =
new
(Color.Red);
738
using SolidBrush brush =
new
(Color.Red);
747
using SolidBrush brush =
new
(Color.Red);
769
using SolidBrush brush =
new
(Color.Red);
795
using SolidBrush brush =
new
(Color.Red);
804
using SolidBrush brush =
new
(Color.Red);
814
using SolidBrush brush =
new
(Color.Red);
833
using SolidBrush brush =
new
(Color.Red);
846
using SolidBrush brush =
new
(Color.Red);
858
using SolidBrush brush =
new
(Color.Red);
873
using SolidBrush brush =
new
(Color.Red);
898
using (SolidBrush brush =
new
(Color.Red))
922
using SolidBrush brush =
new
(Color.Red);
930
using SolidBrush brush =
new
(Color.Red);
958
using (SolidBrush brush =
new
(Color.Red))
982
using SolidBrush brush =
new
(Color.Red);
990
using SolidBrush brush =
new
(Color.Red);
1005
using SolidBrush brush =
new
(Color.Red);
1022
using SolidBrush brush =
new
(Color.Red);
1033
using SolidBrush brush =
new
(Color.Red);
1043
using SolidBrush brush =
new
(Color.Red);
1051
using SolidBrush brush =
new
(Color.Red);
1062
using SolidBrush brush =
new
(Color.Red);
1077
using SolidBrush brush =
new
(Color.Red);
1085
using SolidBrush brush =
new
(Color.Red);
1094
using SolidBrush brush =
new
(Color.Red);
1105
using SolidBrush brush =
new
(Color.Red);
1133
using (SolidBrush brush =
new
(Color.Red))
1157
using SolidBrush brush =
new
(Color.Red);
1165
using SolidBrush brush =
new
(Color.Red);
1183
using SolidBrush brush =
new
(Color.Red);
1192
using SolidBrush brush =
new
(Color.Red);
System\Drawing\SolidBrushTests.cs (8)
18
SolidBrush brush =
new
(color);
25
SolidBrush brush =
new
(Color.PeachPuff);
53
SolidBrush brush =
new
(Color.LavenderBlush);
62
SolidBrush brush =
new
(new Color());
71
SolidBrush brush =
new
(Color.Aquamarine);
80
SolidBrush brush =
new
(Color.Goldenrod) { Color = Color.GhostWhite };
87
SolidBrush brush =
new
(new Color());
103
SolidBrush brush =
new
(Color.Plum);
System.Windows.Forms.Design (32)
System\ComponentModel\Design\ByteViewer.cs (4)
130
using SolidBrush foreground =
new
(ForeColor);
140
using (Brush brush = new
SolidBrush
(SystemColors.ControlLightLight))
195
using Brush foreground = new
SolidBrush
(ForeColor);
223
using Brush foreground = new
SolidBrush
(ForeColor);
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
588
g.FillRectangle(new
SolidBrush
(backColor), res);
614
using (Brush textBrush = new
SolidBrush
(textColor))
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
101
using SolidBrush b =
new
(backColor);
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
396
_watermarkBrush = new
SolidBrush
(c);
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
277
Brush foreBrush = new
SolidBrush
(die.ForeColor);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1030
using SolidBrush brush =
new
(primaryControl.BackColor);
System\Windows\Forms\Design\Behavior\MiniLockedBorderGlyph.cs (1)
53
pe.Graphics.FillRectangle(new
SolidBrush
(SystemColors.ControlText), bounds);
System\Windows\Forms\Design\ComponentTray.cs (1)
2280
Brush foreBrush = new
SolidBrush
(ForeColor);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2294
e.Graphics.DrawString(exceptionText, errorFont, new
SolidBrush
(Control.ForeColor), textRect, stringFormat);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
997
Brush selectedBrush = new
SolidBrush
(e.BackColor);
998
Brush foreBrush = new
SolidBrush
(e.ForeColor);
999
Brush backBrush = new
SolidBrush
(_selectedColumns.BackColor);
System\Windows\Forms\Design\DesignerUtils.cs (4)
22
private static SolidBrush s_hoverBrush =
new
(Color.FromArgb(alpha: 50, SystemColors.Highlight));
122
g.FillRectangle(new
SolidBrush
(SystemColors.InactiveBorder), 0, 0, s_boxImageSize, s_boxImageSize);
167
s_hoverBrush = new
SolidBrush
(Color.FromArgb(50, SystemColors.Highlight));
237
_ => new
SolidBrush
(color),
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
145
Brush brush = new
SolidBrush
(borderColor);
System\Windows\Forms\Design\TabOrder.cs (3)
57
_highlightTextBrush = new
SolidBrush
(SystemColors.HighlightText);
218
using (SolidBrush brush =
new
(backColor))
288
Brush foreBrush = new
SolidBrush
(textColor);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
926
using Pen p = new(new
SolidBrush
(Color.Black));
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
473
using Brush brush = new
SolidBrush
(Color.FromArgb(50, Color.White));
System\Windows\Forms\Design\ToolStripTemplateNode.cs (6)
1834
using (SolidBrush b =
new
(_dropDownMouseOverColor))
1841
using (SolidBrush b =
new
(_dropDownMouseDownColor))
1891
using (SolidBrush brush =
new
(_toolStripBorderColor))
1989
using (SolidBrush brush =
new
(_dropDownMouseDownColor))
1998
using (SolidBrush brush =
new
(_dropDownMouseOverColor))
2008
using (SolidBrush brush =
new
(_dropDownMouseOverColor))
System.Windows.Forms.Primitives (3)
System\Windows\Forms\GdiPlus\SolidBrushCache.cs (1)
19
=> _brush = new
SolidBrush
(color);
System\Windows\Forms\SystemDrawingExtensions.cs (2)
121
? new
SolidBrush
(Color.FromArgb(color.ToArgb()))
122
: new
SolidBrush
(color);
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
496
using SolidBrush brush =
new
(e.ForeColor);
WinFormsControlsTest (1)
ComboBoxesWithScrollBars.cs (1)
137
using SolidBrush brush =
new
(e.ForeColor);