114 references to White
DesignSurface (1)
MainForm.cs (1)
161
sct.BackColor = Color.
White
;
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
138
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)
5677
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)
1459
new(Color.
White
, backColor)
1527
Color foreColor = (s_gridInvert) ? Color.
White
: Color.Black;
1560
attributes.SetColorMatrix(RemapBlackAndWhitePreserveTransparentMatrix(replaceBlack, Color.
White
));
1789
graphicsColor = Color.
White
;
2153
color1 = Color.
White
;
2170
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)
80
TransparentColor = Color.
White
167
ForeColor = Color.
White
,
191
Assert.Equal(Color.
White
, result.ForeColor);
215
foreColor: Color.
White
,
239
Assert.Equal(Color.
White
, result.ForeColor);
System\Windows\Forms\ComboBoxTests.cs (4)
1051
yield return new object[] { Color.
White
, Color.
White
};
1077
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\ControlPaintTests.cs (17)
268
yield return new object[] { Color.
White
, Color.FromArgb(255, 0, 0, 0) };
551
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, style };
1194
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, Color.Blue };
1198
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, Color.
White
};
1270
yield return new object[] { new Rectangle(1, 2, 3, 4), new Size(1, 1), Color.
White
};
1314
yield return new object[] { new Bitmap(10, 10), 0, 0, Color.
White
};
1322
yield return new object[] { new Metafile("bitmaps/telescope_01.wmf"), 0, 0, Color.
White
};
1417
yield return new object[] { new Rectangle(1, 2, 3, 4), glyph, Color.
White
, Color.Blue };
1421
yield return new object[] { new Rectangle(1, 2, 3, 4), glyph, Color.Red, Color.
White
};
1689
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
, style };
1718
yield return new object[] { new Point(1, 2), new Point(2, 3), Color.
White
};
1826
yield return new object[] { active, new Rectangle(0, 1, 4, 5), new Rectangle(1, 2, 3, 4), Color.
White
};
1859
yield return new object[] { Color.
White
, new Rectangle(1, 2, 3, 4) };
1907
yield return new object[] { s, SystemFonts.MenuFont, Color.
White
, new RectangleF(1, 2, 3, 4), new StringFormat() };
1955
yield return new object[] { s, SystemFonts.MenuFont, Color.
White
, new Rectangle(1, 2, 3, 4), TextFormatFlags.VerticalCenter };
2017
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
White
};
2036
yield return new object[] { Color.
White
, false };
System\Windows\Forms\HtmlDocumentTests.cs (1)
323
yield return new object[] { Color.
White
, Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF), "#ffffff" };
System\Windows\Forms\ListBoxTests.cs (4)
1244
yield return new object[] { Color.
White
, Color.
White
};
1270
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\ListViewItemTests.cs (2)
907
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\ListViewSubItemCollectionTests.cs (2)
905
listViewItem.SubItems.Add("Test", Color.
White
, Color.Black, SystemFonts.MenuFont);
942
listViewItem.SubItems.AddRange(["Test 1", "Test 2"], Color.
White
, Color.Black, SystemFonts.MenuFont);
System\Windows\Forms\ListViewSubItemTests.cs (2)
386
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\ListViewTests.cs (4)
1312
yield return new object[] { Color.
White
, Color.
White
};
1338
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\MonthCalendarTests.cs (4)
925
yield return new object[] { Color.
White
, Color.
White
};
951
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\RichTextBoxTests.cs (4)
1681
yield return new object[] { Color.
White
, Color.
White
};
1707
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\TextRendererTests.cs (12)
26
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
};
55
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, Color.Blue };
60
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.
White
};
89
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, TextFormatFlags.Default, };
126
yield return new object[] { hint, text, SystemFonts.MenuFont, new Point(1, 2), Color.
White
, Color.Blue, TextFormatFlags.Default, };
131
yield return new object[] { hint, text, SystemFonts.MenuFont, Point.Empty, Color.Red, Color.
White
, TextFormatFlags.Default, };
170
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
};
201
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, Color.Blue };
206
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.
White
};
237
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, TextFormatFlags.Default, };
277
yield return new object[] { hint, text, SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.
White
, Color.Blue, TextFormatFlags.Default, };
282
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)
3355
yield return new object[] { Color.
White
, Color.
White
, 1 };
System\Windows\Forms\TreeViewTests.cs (2)
1463
yield return new object[] { Color.
White
, Color.
White
};
System\Windows\Forms\UpDownBaseTests.cs (2)
939
yield return new object[] { Color.
White
, Color.
White
};
TextBoxBaseTests.cs (4)
1165
yield return new object[] { Color.
White
, Color.
White
};
1191
yield return new object[] { Color.
White
, Color.
White
, 1 };
TrackBarTests.cs (1)
688
yield return new object[] { Color.
White
};
System.Windows.Forms.TestUtilities (2)
CommonTestHelperEx.cs (2)
28
{ Color.
White
, Color.
White
},
TestPassApp (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
;
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
;