459 references to SolidBrush
System.Drawing (142)
commonui\System\Drawing\Brushes.cs (141)
177
transparent = new
SolidBrush
(Color.Transparent);
194
aliceBlue = new
SolidBrush
(Color.AliceBlue);
211
antiqueWhite = new
SolidBrush
(Color.AntiqueWhite);
228
aqua = new
SolidBrush
(Color.Aqua);
245
aquamarine = new
SolidBrush
(Color.Aquamarine);
262
azure = new
SolidBrush
(Color.Azure);
279
beige = new
SolidBrush
(Color.Beige);
296
bisque = new
SolidBrush
(Color.Bisque);
313
black = new
SolidBrush
(Color.Black);
330
blanchedAlmond = new
SolidBrush
(Color.BlanchedAlmond);
347
blue = new
SolidBrush
(Color.Blue);
364
blueViolet = new
SolidBrush
(Color.BlueViolet);
381
brown = new
SolidBrush
(Color.Brown);
398
burlyWood = new
SolidBrush
(Color.BurlyWood);
415
cadetBlue = new
SolidBrush
(Color.CadetBlue);
432
chartreuse = new
SolidBrush
(Color.Chartreuse);
449
chocolate = new
SolidBrush
(Color.Chocolate);
466
choral = new
SolidBrush
(Color.Coral);
483
cornflowerBlue = new
SolidBrush
(Color.CornflowerBlue);
500
cornsilk = new
SolidBrush
(Color.Cornsilk);
517
crimson = new
SolidBrush
(Color.Crimson);
534
cyan = new
SolidBrush
(Color.Cyan);
551
darkBlue = new
SolidBrush
(Color.DarkBlue);
568
darkCyan = new
SolidBrush
(Color.DarkCyan);
585
darkGoldenrod = new
SolidBrush
(Color.DarkGoldenrod);
602
darkGray = new
SolidBrush
(Color.DarkGray);
619
darkGreen = new
SolidBrush
(Color.DarkGreen);
636
darkKhaki = new
SolidBrush
(Color.DarkKhaki);
653
darkMagenta = new
SolidBrush
(Color.DarkMagenta);
670
darkOliveGreen = new
SolidBrush
(Color.DarkOliveGreen);
687
darkOrange = new
SolidBrush
(Color.DarkOrange);
704
darkOrchid = new
SolidBrush
(Color.DarkOrchid);
721
darkRed = new
SolidBrush
(Color.DarkRed);
738
darkSalmon = new
SolidBrush
(Color.DarkSalmon);
755
darkSeaGreen = new
SolidBrush
(Color.DarkSeaGreen);
772
darkSlateBlue = new
SolidBrush
(Color.DarkSlateBlue);
789
darkSlateGray = new
SolidBrush
(Color.DarkSlateGray);
806
darkTurquoise = new
SolidBrush
(Color.DarkTurquoise);
823
darkViolet = new
SolidBrush
(Color.DarkViolet);
840
deepPink = new
SolidBrush
(Color.DeepPink);
857
deepSkyBlue = new
SolidBrush
(Color.DeepSkyBlue);
874
dimGray = new
SolidBrush
(Color.DimGray);
891
dodgerBlue = new
SolidBrush
(Color.DodgerBlue);
908
firebrick = new
SolidBrush
(Color.Firebrick);
925
floralWhite = new
SolidBrush
(Color.FloralWhite);
942
forestGreen = new
SolidBrush
(Color.ForestGreen);
959
fuchia = new
SolidBrush
(Color.Fuchsia);
976
gainsboro = new
SolidBrush
(Color.Gainsboro);
993
ghostWhite = new
SolidBrush
(Color.GhostWhite);
1010
gold = new
SolidBrush
(Color.Gold);
1027
goldenrod = new
SolidBrush
(Color.Goldenrod);
1044
gray = new
SolidBrush
(Color.Gray);
1061
green = new
SolidBrush
(Color.Green);
1078
greenYellow = new
SolidBrush
(Color.GreenYellow);
1095
honeydew = new
SolidBrush
(Color.Honeydew);
1112
hotPink = new
SolidBrush
(Color.HotPink);
1129
indianRed = new
SolidBrush
(Color.IndianRed);
1146
indigo = new
SolidBrush
(Color.Indigo);
1163
ivory = new
SolidBrush
(Color.Ivory);
1180
khaki = new
SolidBrush
(Color.Khaki);
1197
lavender = new
SolidBrush
(Color.Lavender);
1214
lavenderBlush = new
SolidBrush
(Color.LavenderBlush);
1231
lawnGreen = new
SolidBrush
(Color.LawnGreen);
1248
lemonChiffon = new
SolidBrush
(Color.LemonChiffon);
1265
lightBlue = new
SolidBrush
(Color.LightBlue);
1282
lightCoral = new
SolidBrush
(Color.LightCoral);
1299
lightCyan = new
SolidBrush
(Color.LightCyan);
1316
lightGoldenrodYellow = new
SolidBrush
(Color.LightGoldenrodYellow);
1333
lightGreen = new
SolidBrush
(Color.LightGreen);
1350
lightGray = new
SolidBrush
(Color.LightGray);
1367
lightPink = new
SolidBrush
(Color.LightPink);
1384
lightSalmon = new
SolidBrush
(Color.LightSalmon);
1401
lightSeaGreen = new
SolidBrush
(Color.LightSeaGreen);
1418
lightSkyBlue = new
SolidBrush
(Color.LightSkyBlue);
1435
lightSlateGray = new
SolidBrush
(Color.LightSlateGray);
1452
lightSteelBlue = new
SolidBrush
(Color.LightSteelBlue);
1469
lightYellow = new
SolidBrush
(Color.LightYellow);
1486
lime = new
SolidBrush
(Color.Lime);
1503
limeGreen = new
SolidBrush
(Color.LimeGreen);
1520
linen = new
SolidBrush
(Color.Linen);
1537
magenta = new
SolidBrush
(Color.Magenta);
1554
maroon = new
SolidBrush
(Color.Maroon);
1571
mediumAquamarine = new
SolidBrush
(Color.MediumAquamarine);
1588
mediumBlue = new
SolidBrush
(Color.MediumBlue);
1605
mediumOrchid = new
SolidBrush
(Color.MediumOrchid);
1622
mediumPurple = new
SolidBrush
(Color.MediumPurple);
1639
mediumSeaGreen = new
SolidBrush
(Color.MediumSeaGreen);
1656
mediumSlateBlue = new
SolidBrush
(Color.MediumSlateBlue);
1673
mediumSpringGreen = new
SolidBrush
(Color.MediumSpringGreen);
1690
mediumTurquoise = new
SolidBrush
(Color.MediumTurquoise);
1707
mediumVioletRed = new
SolidBrush
(Color.MediumVioletRed);
1724
midnightBlue = new
SolidBrush
(Color.MidnightBlue);
1741
mintCream = new
SolidBrush
(Color.MintCream);
1758
mistyRose = new
SolidBrush
(Color.MistyRose);
1775
moccasin = new
SolidBrush
(Color.Moccasin);
1792
navajoWhite = new
SolidBrush
(Color.NavajoWhite);
1809
navy = new
SolidBrush
(Color.Navy);
1826
oldLace = new
SolidBrush
(Color.OldLace);
1843
olive = new
SolidBrush
(Color.Olive);
1860
oliveDrab = new
SolidBrush
(Color.OliveDrab);
1877
orange = new
SolidBrush
(Color.Orange);
1894
orangeRed = new
SolidBrush
(Color.OrangeRed);
1911
orchid = new
SolidBrush
(Color.Orchid);
1928
paleGoldenrod = new
SolidBrush
(Color.PaleGoldenrod);
1945
paleGreen = new
SolidBrush
(Color.PaleGreen);
1962
paleTurquoise = new
SolidBrush
(Color.PaleTurquoise);
1979
paleVioletRed = new
SolidBrush
(Color.PaleVioletRed);
1996
papayaWhip = new
SolidBrush
(Color.PapayaWhip);
2013
peachPuff = new
SolidBrush
(Color.PeachPuff);
2030
peru = new
SolidBrush
(Color.Peru);
2047
pink = new
SolidBrush
(Color.Pink);
2064
plum = new
SolidBrush
(Color.Plum);
2081
powderBlue = new
SolidBrush
(Color.PowderBlue);
2098
purple = new
SolidBrush
(Color.Purple);
2115
red = new
SolidBrush
(Color.Red);
2132
rosyBrown = new
SolidBrush
(Color.RosyBrown);
2149
royalBlue = new
SolidBrush
(Color.RoyalBlue);
2166
saddleBrown = new
SolidBrush
(Color.SaddleBrown);
2183
salmon = new
SolidBrush
(Color.Salmon);
2200
sandyBrown = new
SolidBrush
(Color.SandyBrown);
2217
seaGreen = new
SolidBrush
(Color.SeaGreen);
2234
seaShell = new
SolidBrush
(Color.SeaShell);
2251
sienna = new
SolidBrush
(Color.Sienna);
2268
silver = new
SolidBrush
(Color.Silver);
2285
skyBlue = new
SolidBrush
(Color.SkyBlue);
2302
slateBlue = new
SolidBrush
(Color.SlateBlue);
2319
slateGray = new
SolidBrush
(Color.SlateGray);
2336
snow = new
SolidBrush
(Color.Snow);
2353
springGreen = new
SolidBrush
(Color.SpringGreen);
2370
steelBlue = new
SolidBrush
(Color.SteelBlue);
2387
tan = new
SolidBrush
(Color.Tan);
2404
teal = new
SolidBrush
(Color.Teal);
2421
thistle = new
SolidBrush
(Color.Thistle);
2438
tomato = new
SolidBrush
(Color.Tomato);
2455
turquoise = new
SolidBrush
(Color.Turquoise);
2472
violet = new
SolidBrush
(Color.Violet);
2489
wheat = new
SolidBrush
(Color.Wheat);
2506
white = new
SolidBrush
(Color.White);
2523
whiteSmoke = new
SolidBrush
(Color.WhiteSmoke);
2540
yellow = new
SolidBrush
(Color.Yellow);
2557
yellowGreen = new
SolidBrush
(Color.YellowGreen);
commonui\System\Drawing\SolidBrush.cs (1)
58
internal SolidBrush(Color color, bool immutable) :
this
(color) {
System.Web.DataVisualization (94)
Common\Annotation\ImageAnnotation.cs (1)
575
using( Brush textBrush = new
SolidBrush
(this.ForeColor) )
Common\Annotation\TextAnnotation.cs (1)
575
using( Brush textBrush = new
SolidBrush
(this.ForeColor) )
Common\Borders3D\EmbedBorder.cs (1)
945
using (Brush brush = new
SolidBrush
(borderSkin.PageColor))
Common\Borders3D\EmbossBorder.cs (1)
200
using (Brush brush = new
SolidBrush
(borderSkin.PageColor))
Common\ChartTypes\AreaChart.cs (2)
333
areaBrush = new
SolidBrush
(pointColor);
356
using (Brush shadowBrush = new
SolidBrush
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor)))
Common\ChartTypes\BarChart.cs (2)
1069
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2127
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\BoxPlotChart.cs (1)
977
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\ColumnChart.cs (2)
1261
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1383
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\ErrorBarChart.cs (1)
1034
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\FastPointChart.cs (2)
313
SolidBrush markerBrush = new
SolidBrush
( ((series.MarkerColor.IsEmpty) ? series.Color : series.MarkerColor) );
314
SolidBrush emptyMarkerBrush = new
SolidBrush
( ((series.EmptyPointStyle.MarkerColor.IsEmpty) ? series.EmptyPointStyle.Color : series.EmptyPointStyle.MarkerColor) );
Common\ChartTypes\FunnelChart.cs (1)
1573
using (Brush brush = new
SolidBrush
(labelInfo.Point.LabelForeColor))
Common\ChartTypes\PieChart.cs (5)
1271
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1426
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2689
SolidBrush brush = new
SolidBrush
(point.Color);
5524
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
5586
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\PointChart.cs (1)
930
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\RadarChart.cs (2)
491
using (Brush brush = new
SolidBrush
(ser.ShadowColor))
1253
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\RangeChart.cs (3)
418
areaBrush = new
SolidBrush
(point.Color);
519
using (Brush shadowBrush = new
SolidBrush
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor)))
1730
using (Brush brush = new
SolidBrush
(polygonColor))
Common\ChartTypes\StackedAreaChart.cs (4)
629
areaBrush = new
SolidBrush
(ser.Color);
633
areaBrush = new
SolidBrush
(point.Color);
1052
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1534
using (Brush brush = new
SolidBrush
(pointEx.dataPoint.LabelForeColor))
Common\ChartTypes\StackedBarChart.cs (2)
1204
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2094
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\StackedColumnChart.cs (2)
1247
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1959
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\StockChart.cs (3)
849
using (Brush brush = new
SolidBrush
(point.Color))
1075
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1686
using (Brush brush = new
SolidBrush
(point.Color))
Common\General\Axis.cs (2)
1943
using (Brush brush = new
SolidBrush
(this.TitleForeColor))
2438
using (Brush brush = new
SolidBrush
(this.TitleForeColor))
Common\General\AxisScaleSegments.cs (1)
515
brush = new
SolidBrush
(chart.BackColor);
Common\General\ChartGraphics.cs (22)
404
using(SolidBrush backBrush = new
SolidBrush
(backColor))
456
gradientBrush = new
SolidBrush
( Color.Black );
774
using (SolidBrush brush = new
SolidBrush
(markerColor))
817
this.FillPolygon(new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)), points);
834
using (SolidBrush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
948
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1026
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1079
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1522
using(Brush brush = new
SolidBrush
(backColor))
1556
using(Brush brush = new
SolidBrush
(Color.Transparent))
2926
using(SolidBrush leftTopBrush = new
SolidBrush
(Color.FromArgb(100, Color.White)))
2947
using(SolidBrush bottomRightBrush = new
SolidBrush
(Color.FromArgb(80, Color.Black)))
3058
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(90, Color.Black)))
3079
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3149
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3512
brush = new
SolidBrush
(backColor);
3756
using (SolidBrush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(backColor.A / 2, shadowColor)))
4078
return new
SolidBrush
(brushColor);
4616
Brush brush = new
SolidBrush
(backColor);
5047
fillBrush = new
SolidBrush
( backColor );
5330
using (SolidBrush brush = new
SolidBrush
(color))
5626
_solidBrush = new
SolidBrush
(Color.Black);
Common\General\ChartGraphics3D.cs (15)
594
using (Brush lightBrush = new
SolidBrush
(lightColor))
655
using (Brush lightBrush = new
SolidBrush
(lightColor))
887
using (Brush lightBrush = new
SolidBrush
(frontLightColor))
1025
using (Brush lightBrush = new
SolidBrush
(frontLightColor))
1252
using (Brush brush = new
SolidBrush
(polygonColor))
2131
using (Brush brush = new
SolidBrush
(polygonColor))
3015
using (Brush brush = new
SolidBrush
(surfaceColor))
3147
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(90, Color.Black)))
3168
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3210
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3395
using(SolidBrush leftTopBrush = new
SolidBrush
(Color.FromArgb(100, Color.White)))
3425
using(SolidBrush bottomRightBrush = new
SolidBrush
(Color.FromArgb(80, Color.Black)))
3526
using (SolidBrush brush = new
SolidBrush
(markerColor))
3551
using (Brush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
4289
using (Brush brush = new
SolidBrush
(surfaceColor))
Common\General\Label.cs (3)
1258
using (Brush brush = new
SolidBrush
(labelColor))
1772
using (Brush brush = new
SolidBrush
((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
2489
using (Brush brush = new
SolidBrush
((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
Common\General\Legend.cs (2)
4189
using(SolidBrush textBrush = new
SolidBrush
(legendColumn.HeaderForeColor))
4307
using(SolidBrush textBrush = new
SolidBrush
(this.TitleForeColor))
Common\General\LegendColumns.cs (1)
2011
using(SolidBrush fontBrush = new
SolidBrush
(this.GetCellForeColor()))
Common\General\SmartLabels.cs (1)
932
using (Brush calloutBrush = new
SolidBrush
(smartLabelStyle.CalloutBackColor))
Common\General\StripLine.cs (1)
795
using (Brush brush = new
SolidBrush
(this.ForeColor))
Common\General\Title.cs (9)
1729
using (SolidBrush brush = new
SolidBrush
(foreColor))
1760
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1768
using (SolidBrush brush = new
SolidBrush
(texthighlightColor))
1772
using (SolidBrush brush = new
SolidBrush
(foreColor))
1784
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1792
using (SolidBrush brush = new
SolidBrush
(texthighlightColor))
1797
using (SolidBrush brush = new
SolidBrush
(foreColor))
1809
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1814
using (SolidBrush brush = new
SolidBrush
(foreColor))
System.Web.Mobile (5)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
39
Brush foreBrush = new
SolidBrush
(ForeColor);
UI\MobileControls\Design\Util\ImageCreator.cs (4)
76
Brush controlTextBrush = new
SolidBrush
(SystemColors.ControlText),
77
controlDarkBrush = new
SolidBrush
(SystemColors.ControlDark),
78
controlBrush = new
SolidBrush
(SystemColors.Control),
79
windowBrush = new
SolidBrush
(SystemColors.Window)
System.Windows.Forms (91)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
493
brush = new
SolidBrush
(c);
500
brush = new
SolidBrush
(c);
632
using (SolidBrush brush = new
SolidBrush
(colors.highlight)) {
648
brush = new
SolidBrush
(c);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
117
using (Brush brush = new
SolidBrush
(color)) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
42
using (Brush fieldBrush = new
SolidBrush
(field)) {
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
762
using (Brush b = new
SolidBrush
(backColor)) {
813
using (SolidBrush brush = new
SolidBrush
(foreColor)) {
865
using (Brush brush = new
SolidBrush
(backColor)) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
3458
Brush brush = new
SolidBrush
(p.BackColor);
5984
using (Brush b = new
SolidBrush
(innerBorderColor)) {
winforms\Managed\System\WinForms\Control.cs (1)
9661
using (Brush brush = new
SolidBrush
(color)) {
winforms\Managed\System\WinForms\ControlPaint.cs (3)
223
using( Brush brush = new
SolidBrush
(background) ) {
489
using (SolidBrush brush = new
SolidBrush
(backColor)) {
1942
using (SolidBrush brush = new
SolidBrush
(LightLight(color))) {
winforms\Managed\System\WinForms\DataGrid.cs (10)
427
alternatingBackBrush = new
SolidBrush
(value);
1198
selectionBackBrush = new
SolidBrush
(value);
1251
selectionForeBrush = new
SolidBrush
(value);
1809
gridLineBrush = new
SolidBrush
(value);
2010
headerBackBrush = new
SolidBrush
(value);
2091
backgroundBrush = new
SolidBrush
(value);
2186
headerForeBrush = new
SolidBrush
(value);
2359
linkBrush = new
SolidBrush
(value);
3728
backBrush = new
SolidBrush
(BackColor);
3796
foreBrush = new
SolidBrush
(ForeColor);
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
148
backBrush = new
SolidBrush
(value);
249
foreBrush = new
SolidBrush
(value);
winforms\Managed\System\WinForms\DataGridParentRows.cs (3)
41
private Brush borderBrush = new
SolidBrush
(SystemColors.WindowFrame);
109
backBrush = new
SolidBrush
(value);
228
foreBrush = new
SolidBrush
(value);
winforms\Managed\System\WinForms\DataGridTable.cs (9)
177
alternatingBackBrush = new
SolidBrush
(value);
268
this.backBrush = new
SolidBrush
(value);
419
this.foreBrush = new
SolidBrush
(value);
475
gridLineBrush = new
SolidBrush
(value);
593
headerBackBrush = new
SolidBrush
(value);
734
headerForeBrush = new
SolidBrush
(value);
809
linkBrush = new
SolidBrush
(value);
1227
selectionBackBrush = new
SolidBrush
(value);
1300
selectionForeBrush = new
SolidBrush
(value);
winforms\Managed\System\WinForms\DataGridView.cs (1)
1303
this.backgroundBrush = new
SolidBrush
(value);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1410
using (SolidBrush highBrush = new
SolidBrush
(highlight))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
6827
brush = new
SolidBrush
(color);
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
186
Brush backBrush = new
SolidBrush
(BackColor);
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
158
using (Brush backBrush = new
SolidBrush
(backColor)) {
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
126
Brush backBrush = new
SolidBrush
(item.BackColor);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
172
using (Brush backBrush = new
SolidBrush
(backColor)) {
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
129
Brush backBrush = new
SolidBrush
(backColor);
winforms\Managed\System\WinForms\GroupBox.cs (2)
566
using( Brush textBrush = new
SolidBrush
(ForeColor)){
773
using (Brush b = new
SolidBrush
(BackColor)) {
winforms\Managed\System\WinForms\Label.cs (1)
1548
using (Brush brush = new
SolidBrush
(color)) {
winforms\Managed\System\WinForms\LinkLabel.cs (3)
1154
SolidBrush foreBrush = new
SolidBrush
(ForeColor);
1155
SolidBrush linkBrush = new
SolidBrush
(LinkColor);
1422
SolidBrush useBrush = brushColor == Color.Empty ? linkBrush : new
SolidBrush
( brushColor );
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (3)
538
Brush backBrush = new
SolidBrush
(BackColor);
551
SolidBrush brush = new
SolidBrush
(ForeColor);
637
using (SolidBrush brush = new
SolidBrush
(ForeColor)) {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3295
background = new
SolidBrush
(BackColor);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1934
using( Brush textBrush = new
SolidBrush
(textColor)){
2020
Brush b = new
SolidBrush
(textColor);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
221
this.backgroundBrush = new
SolidBrush
(value);
1518
ownerGrid.lineBrush = new
SolidBrush
(clr);
1537
ownerGrid.selectedItemWithFocusBackBrush = new
SolidBrush
(clr);
winforms\Managed\System\WinForms\SplitContainer.cs (2)
1216
using (SolidBrush brush = new
SolidBrush
(this.BackColor)) {
1714
using (SolidBrush solidBrush = new
SolidBrush
(this.BackColor)) {
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
53
using(SolidBrush brush = new
SolidBrush
(SystemColors.Window)) {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
707
using (Brush b = new
SolidBrush
(colorTable.ComboBoxButtonOnOverflow)) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (21)
275
using (Brush b = new
SolidBrush
(ColorTable.ButtonSelectedBorder)) {
469
using (Brush b = new
SolidBrush
(ColorTable.GripLight)) {
477
using (Brush b = new
SolidBrush
(ColorTable.GripDark)) {
516
using (Brush b = new
SolidBrush
(ColorTable.MenuItemSelected)) {
533
using (Brush b = new
SolidBrush
(item.BackColor)) {
576
using (Brush b = new
SolidBrush
(item.BackColor)) {
814
using (Brush b = new
SolidBrush
(overflowBottomLeftShadow)) {
820
using (Brush b = new
SolidBrush
(overflowTopShadow)) {
865
using (Brush b = new
SolidBrush
(middleColor)) {
916
using (Brush b = new
SolidBrush
(fill)) {
1002
using (Brush b = new
SolidBrush
(beginColor)) {
1026
using (Brush b = new
SolidBrush
(ColorTable.ToolStripDropDownBackground)) {
1044
using (Brush b = new
SolidBrush
(ColorTable.ToolStripDropDownBackground)) {
1120
using (Brush b = new
SolidBrush
(overflowTopShadow/*Color.Orange*/)) {
1138
using (Brush b = new
SolidBrush
(overflowButtonGradientBegin/*Color.Green*/)) {
1170
using (Brush b = new
SolidBrush
(ColorTable.ToolStripGradientMiddle)) {
1201
using (Brush b = new
SolidBrush
(ColorTable.ToolStripGradientEnd)) {
1230
using (Brush b = new
SolidBrush
(fillColor)) {
1249
using (Brush b = new
SolidBrush
(fillColor)) {
1362
using (Brush b = new
SolidBrush
(fillColor)) {
1389
using (Brush b = new
SolidBrush
(item.BackColor)) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
709
using (Brush brush = new
SolidBrush
(e.ArrowColor)) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
73
using (Brush backBrush = new
SolidBrush
(backColor)) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
872
using (Brush b = new
SolidBrush
(innerBorderColor)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
2851
using (Brush brush = new
SolidBrush
(BackColor))
System.Windows.Forms.DataVisualization (93)
Common\Annotation\ImageAnnotation.cs (1)
575
using( Brush textBrush = new
SolidBrush
(this.ForeColor) )
Common\Annotation\TextAnnotation.cs (1)
575
using( Brush textBrush = new
SolidBrush
(this.ForeColor) )
Common\Borders3D\EmbossBorder.cs (1)
200
using (Brush brush = new
SolidBrush
(borderSkin.PageColor))
Common\ChartTypes\AreaChart.cs (2)
333
areaBrush = new
SolidBrush
(pointColor);
356
using (Brush shadowBrush = new
SolidBrush
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor)))
Common\ChartTypes\BarChart.cs (2)
1069
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2127
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\BoxPlotChart.cs (1)
977
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\ColumnChart.cs (2)
1261
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1383
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\ErrorBarChart.cs (1)
1034
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\FastPointChart.cs (2)
313
SolidBrush markerBrush = new
SolidBrush
( ((series.MarkerColor.IsEmpty) ? series.Color : series.MarkerColor) );
314
SolidBrush emptyMarkerBrush = new
SolidBrush
( ((series.EmptyPointStyle.MarkerColor.IsEmpty) ? series.EmptyPointStyle.Color : series.EmptyPointStyle.MarkerColor) );
Common\ChartTypes\FunnelChart.cs (1)
1573
using (Brush brush = new
SolidBrush
(labelInfo.Point.LabelForeColor))
Common\ChartTypes\PieChart.cs (5)
1271
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1426
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2689
SolidBrush brush = new
SolidBrush
(point.Color);
5524
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
5586
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\PointChart.cs (1)
930
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\RadarChart.cs (2)
491
using (Brush brush = new
SolidBrush
(ser.ShadowColor))
1253
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\RangeChart.cs (3)
418
areaBrush = new
SolidBrush
(point.Color);
519
using (Brush shadowBrush = new
SolidBrush
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor)))
1730
using (Brush brush = new
SolidBrush
(polygonColor))
Common\ChartTypes\StackedAreaChart.cs (4)
629
areaBrush = new
SolidBrush
(ser.Color);
633
areaBrush = new
SolidBrush
(point.Color);
1052
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1534
using (Brush brush = new
SolidBrush
(pointEx.dataPoint.LabelForeColor))
Common\ChartTypes\StackedBarChart.cs (2)
1204
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
2094
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\StackedColumnChart.cs (2)
1247
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1959
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
Common\ChartTypes\StockChart.cs (3)
849
using (Brush brush = new
SolidBrush
(point.Color))
1075
using (Brush brush = new
SolidBrush
(point.LabelForeColor))
1686
using (Brush brush = new
SolidBrush
(point.Color))
Common\General\Axis.cs (2)
1943
using (Brush brush = new
SolidBrush
(this.TitleForeColor))
2438
using (Brush brush = new
SolidBrush
(this.TitleForeColor))
Common\General\ChartGraphics.cs (22)
404
using(SolidBrush backBrush = new
SolidBrush
(backColor))
456
gradientBrush = new
SolidBrush
( Color.Black );
774
using (SolidBrush brush = new
SolidBrush
(markerColor))
817
this.FillPolygon(new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)), points);
834
using (SolidBrush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
948
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1026
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1079
using (Brush softShadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
1522
using(Brush brush = new
SolidBrush
(backColor))
1556
using(Brush brush = new
SolidBrush
(Color.Transparent))
2926
using(SolidBrush leftTopBrush = new
SolidBrush
(Color.FromArgb(100, Color.White)))
2947
using(SolidBrush bottomRightBrush = new
SolidBrush
(Color.FromArgb(80, Color.Black)))
3058
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(90, Color.Black)))
3079
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3149
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3512
brush = new
SolidBrush
(backColor);
3756
using (SolidBrush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(backColor.A / 2, shadowColor)))
4078
return new
SolidBrush
(brushColor);
4616
Brush brush = new
SolidBrush
(backColor);
5047
fillBrush = new
SolidBrush
( backColor );
5330
using (SolidBrush brush = new
SolidBrush
(color))
5626
_solidBrush = new
SolidBrush
(Color.Black);
Common\General\ChartGraphics3D.cs (15)
594
using (Brush lightBrush = new
SolidBrush
(lightColor))
655
using (Brush lightBrush = new
SolidBrush
(lightColor))
887
using (Brush lightBrush = new
SolidBrush
(frontLightColor))
1025
using (Brush lightBrush = new
SolidBrush
(frontLightColor))
1252
using (Brush brush = new
SolidBrush
(polygonColor))
2131
using (Brush brush = new
SolidBrush
(polygonColor))
3015
using (Brush brush = new
SolidBrush
(surfaceColor))
3147
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(90, Color.Black)))
3168
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3210
using(SolidBrush brush = new
SolidBrush
(Color.FromArgb(50, Color.Black)))
3395
using(SolidBrush leftTopBrush = new
SolidBrush
(Color.FromArgb(100, Color.White)))
3425
using(SolidBrush bottomRightBrush = new
SolidBrush
(Color.FromArgb(80, Color.Black)))
3526
using (SolidBrush brush = new
SolidBrush
(markerColor))
3551
using (Brush shadowBrush = new
SolidBrush
((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)))
4289
using (Brush brush = new
SolidBrush
(surfaceColor))
Common\General\Label.cs (3)
1258
using (Brush brush = new
SolidBrush
(labelColor))
1772
using (Brush brush = new
SolidBrush
((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
2489
using (Brush brush = new
SolidBrush
((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
Common\General\Legend.cs (2)
4189
using(SolidBrush textBrush = new
SolidBrush
(legendColumn.HeaderForeColor))
4307
using(SolidBrush textBrush = new
SolidBrush
(this.TitleForeColor))
Common\General\LegendColumns.cs (1)
2011
using(SolidBrush fontBrush = new
SolidBrush
(this.GetCellForeColor()))
Common\General\SmartLabels.cs (1)
932
using (Brush calloutBrush = new
SolidBrush
(smartLabelStyle.CalloutBackColor))
Common\General\StripLine.cs (1)
795
using (Brush brush = new
SolidBrush
(this.ForeColor))
Common\General\Title.cs (9)
1729
using (SolidBrush brush = new
SolidBrush
(foreColor))
1760
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1768
using (SolidBrush brush = new
SolidBrush
(texthighlightColor))
1772
using (SolidBrush brush = new
SolidBrush
(foreColor))
1784
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1792
using (SolidBrush brush = new
SolidBrush
(texthighlightColor))
1797
using (SolidBrush brush = new
SolidBrush
(foreColor))
1809
using (SolidBrush brush = new
SolidBrush
(shadowColor))
1814
using (SolidBrush brush = new
SolidBrush
(foreColor))
WinForm\ChartWinControl.cs (1)
2162
using (Brush b = new
SolidBrush
(BackColor))
System.Workflow.Activities (4)
Designers\StateDesigner.Layouts.cs (1)
1216
using (SolidBrush brush = new
SolidBrush
(color))
Designers\StateMachineDesignerPaint.cs (3)
27
internal static readonly Brush FadeBrush = new
SolidBrush
(Color.FromArgb(120, 255, 255, 255));
137
using (Brush penBrush = new
SolidBrush
(pen.Color))
164
using (Brush penBrush = new
SolidBrush
(pen.Color))
System.Workflow.ComponentModel (30)
AuthoringOM\Design\ActivityDesigner.cs (2)
1065
using (Brush transparentBrush = new
SolidBrush
(Color.FromArgb(0, 255, 0, 255)))
3081
using (Brush transparentSelectionBrush = new
SolidBrush
(Color.FromArgb(50, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor)))
AuthoringOM\Design\DesignerHelpers.cs (4)
296
using (SolidBrush backgroundBrush = new
SolidBrush
(Color.FromArgb(alpha, SystemColors.Control)))
471
using (Brush shadowBrush = new
SolidBrush
(shadowColor))
616
using (Brush penBrush = new
SolidBrush
(pen.Color))
646
using (Brush penBrush = new
SolidBrush
(pen.Color))
AuthoringOM\Design\DesignerWidgets.cs (4)
121
private static Brush SelectionBrush = new
SolidBrush
(Color.FromArgb(255, 195, 107));
122
private static Brush HighliteBrush = new
SolidBrush
(Color.FromArgb(100, 255, 195, 107));
1885
using (Brush hottrackBrush = new
SolidBrush
(hottrackColor))
1886
using (Brush selectionBrush = new
SolidBrush
(selectionColor))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
681
using (Brush backgroundBrush = new
SolidBrush
(Color.FromArgb(0, 255, 0, 255)))
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
118
using (Brush dragRectangleBrush = new
SolidBrush
(Color.FromArgb(10, ambientTheme.SelectionForeColor)))
AuthoringOM\Design\Themes.cs (17)
1275
this.foregroundBrush = new
SolidBrush
(this.foreColor);
1306
this.backgroundBrush = new
SolidBrush
(this.backColorStart);
1882
this.previewForegroundBrush = new
SolidBrush
(this.previewForeColor);
1894
this.previewBackgroundBrush = new
SolidBrush
(this.previewBackColor);
1939
internal static readonly Brush WorkspaceBackgroundBrush = new
SolidBrush
(Color.FromArgb(234, 234, 236));
1940
internal static readonly Brush FadeBrush = new
SolidBrush
(Color.FromArgb(120, 255, 255, 255));
1941
internal static readonly Brush DisabledBrush = new
SolidBrush
(Color.FromArgb(40, Color.Gray));
1942
internal static readonly Brush PageShadowBrush = new
SolidBrush
(Color.FromArgb(75, 75, 75));
2870
this.majorGridBrush = new
SolidBrush
(this.gridColor);
2900
this.minorGridBrush = new
SolidBrush
(minorGridColor);
2941
this.selectionForegroundBrush = new
SolidBrush
(this.selectionForeColor);
2965
this.dropIndicatorBrush = new
SolidBrush
(this.dropIndicatorColor);
3004
this.commentIndicatorBrush = new
SolidBrush
(Color.FromArgb(40, this.commentIndicatorColor));
3016
this.readonlyIndicatorBrush = new
SolidBrush
(Color.FromArgb(20, this.readonlyIndicatorColor));
3028
this.foregroundBrush = new
SolidBrush
(this.foreColor);
3040
this.backgroundBrush = new
SolidBrush
(this.backColor);
3330
using (Brush fillBrush = new
SolidBrush
(selectedColor))
AuthoringOM\Design\WorkflowView.cs (1)
1659
using (Brush shadowDepthBrush = new
SolidBrush
(Color.FromArgb(220, Color.White)))