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