114 references to White
Accessibility_Core_App (3)
ContainerControls.Designer.cs (3)
122
this.flowLayoutPanel2.BackColor = System.Drawing.Color.
White
;
521
this.flowLayoutPanel1.BackColor = System.Drawing.Color.
White
;
705
this.flowLayoutPanel3.BackColor = System.Drawing.Color.
White
;
DesignSurface (1)
MainForm.cs (1)
169
sct.BackColor = Color.
White
;
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
145
ctrl.BackColor = Color.
White
;
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (2)
2886
g.Clear(Color.
White
);
2928
g.Clear(Color.
White
);
System\Drawing\BrushesTests.cs (1)
147
yield return Brush(() => Brushes.White, Color.
White
);
System\Drawing\ColorTranslatorTests.cs (5)
48
yield return new object[] { Color.
White
, 16777215 };
62
yield return new object[] { -1, Color.
White
};
65
yield return new object[] { 16777215, Color.
White
};
66
yield return new object[] { int.MaxValue, Color.
White
};
88
yield return new object[] { Color.
White
, 16777215 };
System\Drawing\Graphics_DrawBezierTests.cs (1)
12
using Pen pen = new(Color.
White
);
System\Drawing\Graphics_DrawLineTests.cs (2)
12
using Pen pen = new(Color.
White
);
27
using Pen pen = new(Color.
White
);
System\Drawing\PensTests.cs (1)
149
yield return Pen(() => Pens.White, Color.
White
);
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
5680
ControlPaint.FillReversibleRectangle(RectangleToScreen(rectInsertionBar), Color.
White
);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
499
new(Color.Black, Color.
White
),
500
new(Color.
White
, Color.Black),
501
new(Color.FromArgb(0, 0, 128), Color.
White
)
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
298
public override void ResetForeColor() => ForeColor = Color.
White
;
300
internal override bool ShouldSerializeForeColor() => !ForeColor.Equals(Color.
White
);
System\Windows\Forms\Rendering\ControlPaint.cs (6)
1463
new(Color.
White
, backColor)
1531
Color foreColor = (s_gridInvert) ? Color.
White
: Color.Black;
1564
attributes.SetColorMatrix(RemapBlackAndWhitePreserveTransparentMatrix(replaceBlack, Color.
White
));
1793
graphicsColor = Color.
White
;
2157
color1 = Color.
White
;
2174
color1 = Color.
White
;
System.Windows.Forms.Design (6)
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
57
_customColors[i] = Color.
White
;
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
429
graphicsColor = Color.
White
;
System\Windows\Forms\Design\SplitterDesigner.cs (1)
31
Color penColor = control.BackColor.GetBrightness() < .5 ? Color.
White
: 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 (2)
1797
_toolStripBorderColor = Color.
White
;
1827
using (LinearGradientBrush brush = new(bounds, Color.
White
, _defaultBorderColor, LinearGradientMode.Vertical))
System.Windows.Forms.Tests (72)
SerializableTypesTests.cs (5)
78
TransparentColor = Color.
White
165
ForeColor = Color.
White
,
189
Assert.Equal(Color.
White
, result.ForeColor);
213
foreColor: Color.
White
,
237
Assert.Equal(Color.
White
, result.ForeColor);
System\Windows\Forms\ComboBoxTests.cs (4)
1049
yield return new object[] { Color.
White
, Color.
White
};
1075
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\ControlPaintTests.cs (17)
266
yield return new object[] { Color.
White
, Color.FromArgb(255, 0, 0, 0) };
549
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, style };
1192
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, Color.Blue };
1196
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, Color.
White
};
1268
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), Color.
White
};
1312
yield return new object[] { new Bitmap(10, 10), 0, 0, Color.
White
};
1320
yield return new object[] { new Metafile("bitmaps/telescope_01.wmf"), 0, 0, Color.
White
};
1415
yield return new object[] { new Rectangle(1, 2, 3, 4), glyph, Color.
White
, Color.Blue };
1419
yield return new object[] { new Rectangle(1, 2, 3, 4), glyph, Color.Red, Color.
White
};
1687
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, style };
1716
yield return new object[] { new Point(1, 2), new Point(2, 3), Color.
White
};
1824
yield return new object[] { active, new Rectangle(0, 1, 4, 5), new Rectangle(1, 2, 3, 4), Color.
White
};
1857
yield return new object[] { Color.
White
, new Rectangle(1, 2, 3, 4) };
1905
yield return new object[] { s, SystemFonts.MenuFont, Color.
White
, new RectangleF(1, 2, 3, 4), new StringFormat() };
1953
yield return new object[] { s, SystemFonts.MenuFont, Color.
White
, new Rectangle(1, 2, 3, 4), TextFormatFlags.VerticalCenter };
2015
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
};
2034
yield return new object[] { Color.
White
, false };
System\Windows\Forms\HtmlDocumentTests.cs (1)
321
yield return new object[] { Color.
White
, Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), "#ffffff" };
System\Windows\Forms\ListBoxTests.cs (4)
1242
yield return new object[] { Color.
White
, Color.
White
};
1268
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\ListViewItemTests.cs (2)
905
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\ListViewSubItemCollectionTests.cs (2)
904
listViewItem.SubItems.Add("Test", Color.
White
, Color.Black, SystemFonts.MenuFont);
941
listViewItem.SubItems.AddRange(["Test 1", "Test 2"], Color.
White
, Color.Black, SystemFonts.MenuFont);
System\Windows\Forms\ListViewSubItemTests.cs (2)
385
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\ListViewTests.cs (4)
1310
yield return new object[] { Color.
White
, Color.
White
};
1336
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\MonthCalendarTests.cs (4)
923
yield return new object[] { Color.
White
, Color.
White
};
949
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\RichTextBoxTests.cs (4)
1679
yield return new object[] { Color.
White
, Color.
White
};
1705
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\TextRendererTests.cs (12)
24
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
};
53
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, Color.Blue };
58
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.
White
};
87
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, TextFormatFlags.Default, };
124
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, Color.Blue, TextFormatFlags.Default, };
129
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.
White
, TextFormatFlags.Default, };
168
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
};
199
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, Color.Blue };
204
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.
White
};
235
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, TextFormatFlags.Default, };
275
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, Color.Blue, TextFormatFlags.Default, };
280
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.
White
, TextFormatFlags.Default, };
System\Windows\Forms\ToolStripItemTests.cs (2)
3353
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\TreeViewTests.cs (2)
1461
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\UpDownBaseTests.cs (2)
937
yield return new object[] { Color.
White
, Color.
White
};
TextBoxBaseTests.cs (4)
1163
yield return new object[] { Color.
White
, Color.
White
};
1189
yield return new object[] { Color.
White
, Color.
White
, 1 };
TrackBarTests.cs (1)
686
yield return new object[] { Color.
White
};
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
28
{ Color.
White
, Color.
White
},
WinFormsControlsTest (5)
ChartControl.Designer.cs (5)
99
this.chart1.BackSecondaryColor = System.Drawing.Color.
White
;
120
chartArea1.BackSecondaryColor = System.Drawing.Color.
White
;
207
chartArea2.BackSecondaryColor = System.Drawing.Color.
White
;
258
this.chart3.BackSecondaryColor = System.Drawing.Color.
White
;
277
chartArea3.BackSecondaryColor = System.Drawing.Color.
White
;