18 references to LightGray
DemoConsole (3)
DesignSurfaceExtended.cs (1)
118
ctrl.BackColor = Color.
LightGray
;
MainForm.cs (2)
157
b1.BackColor = Color.
LightGray
;
250
b3.BackColor = Color.
LightGray
;
System.Drawing.Common.Tests (4)
System\Drawing\BitmapTests.cs (1)
794
bitmap.SetPixel(x, y, Color.
LightGray
);
System\Drawing\BrushesTests.cs (1)
77
yield return Brush(() => Brushes.LightGray, Color.
LightGray
);
System\Drawing\ColorTranslatorTests.cs (1)
136
yield return ("LightGrey", Color.
LightGray
);
System\Drawing\PensTests.cs (1)
79
yield return Pen(() => Pens.LightGray, Color.
LightGray
);
System.Drawing.Primitives (2)
System\Drawing\ColorTranslator.cs (2)
255
c = Color.
LightGray
;
381
if (c == Color.
LightGray
)
System.Private.Windows.GdiPlus (1)
Windows\Win32\Graphics\GdiPlus\GpBitmapExtensions.cs (1)
37
public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap) => bitmap.GetHBITMAP(DrawingColor.
LightGray
);
System.Windows.Forms (2)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
747
private void ResetTransparentColor() => TransparentColor = Color.
LightGray
;
749
private bool ShouldSerializeTransparentColor() => !TransparentColor.Equals(Color.
LightGray
);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.cs (1)
81
private bool ShouldSerializeTransparentColor() => !TransparentColor.Equals(Color.
LightGray
);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlPaintTests.cs (1)
279
using Bitmap invertedBitmap = ControlPaint.CreateBitmapWithInvertedForeColor(bitmap, Color.
LightGray
);
System\Windows\Forms\ImageListTests.cs (3)
674
yield return new object[] { Color.
LightGray
};
791
Assert.Equal(Color.
LightGray
, list.TransparentColor);
808
Assert.Equal(Color.
LightGray
, list.TransparentColor);
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
253
AlternatingBackColor = Color.
LightGray