17 references to LightGray
DesignSurface (2)
MainForm.cs (2)
133
b1.BackColor = Color.
LightGray
;
226
b3.BackColor = Color.
LightGray
;
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
125
ctrl.BackColor = Color.
LightGray
;
System.Drawing.Common.Tests (4)
System\Drawing\BitmapTests.cs (1)
795
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.Core (1)
Windows\Win32\Graphics\GdiPlus\GpBitmapExtensions.cs (1)
35
public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap) => bitmap.GetHBITMAP(Color.
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)
277
using Bitmap invertedBitmap = ControlPaint.CreateBitmapWithInvertedForeColor(bitmap, Color.
LightGray
);
System\Windows\Forms\ImageListTests.cs (3)
672
yield return new object[] { Color.
LightGray
};
789
Assert.Equal(Color.
LightGray
, list.TransparentColor);
806
Assert.Equal(Color.
LightGray
, list.TransparentColor);