4 references to BitsPerPixel
System.Windows.Forms (1)
System\Windows\Forms\Rendering\DisplayInformation.cs (1)
37
s_bitsPerPixel = (short)Screen.PrimaryScreen.
BitsPerPixel
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
543
s_bitsPerPixel = (short)s.
BitsPerPixel
;
547
s_bitsPerPixel = (short)Math.Min(s.
BitsPerPixel
, s_bitsPerPixel);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ScreenTests.cs (1)
208
Assert.Contains(screen.
BitsPerPixel
, new int[] { 1, 2, 4, 8, 16, 24, 32, 48, 64 });