16 references to Gray
DesignSurface (1)
MainForm.cs (1)
120
rootComponent.BackColor = Color.
Gray
;
System.Drawing.Common (2)
System\Drawing\Brushes.cs (1)
206
public static Brush Gray => GetBrush(s_grayKey, Color.
Gray
);
System\Drawing\Pens.cs (1)
206
public static Pen Gray => GetPen(s_grayKey, Color.
Gray
);
System.Drawing.Common.Tests (2)
System\Drawing\BrushesTests.cs (1)
60
yield return Brush(() => Brushes.Gray, Color.
Gray
);
System\Drawing\PensTests.cs (1)
62
yield return Pen(() => Pens.Gray, Color.
Gray
);
System.Windows.Forms.Tests (11)
System\Windows\Forms\ControlPaintTests.Rendering.cs (7)
43
ControlPaint.DrawBorder(graphics, bounds, Color.
Gray
, ButtonBorderStyle.Inset);
60
State.Pen(16, ControlPaint.DarkDark(Color.
Gray
), penStyle),
66
State.Pen(16, ControlPaint.DarkDark(Color.
Gray
), penStyle),
72
State.Pen(16, ControlPaint.LightLight(Color.
Gray
), penStyle),
78
State.Pen(16, ControlPaint.LightLight(Color.
Gray
), penStyle),
84
State.Pen(16, ControlPaint.Light(Color.
Gray
), penStyle),
90
State.Pen(16, ControlPaint.Light(Color.
Gray
), penStyle),
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
554
BackColor = Color.
Gray
,
557
yield return new object[] { customStyle, font, Color.
Gray
, Color.Green, false, HorizontalAlignment.Left, false };
763
BackColor = Color.
Gray
,
766
yield return new object[] { customStyle, font, Color.
Gray
, SystemColors.Control, Color.Green, false, HorizontalAlignment.Left, false };