14 references to DisplayInformation
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
97if (DisplayInformation.BitsPerPixel > 8) { 126if (Control.BackgroundImage != null && !DisplayInformation.HighContrast) {
winforms\Managed\System\WinForms\Control.cs (2)
9608if (BackgroundImage != null && !DisplayInformation.HighContrast && !formRTL) { 9645using (WindowsGraphics wg = (e.HDC != IntPtr.Zero && DisplayInformation.BitsPerPixel > 8) ?
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (3)
480if (!DisplayInformation.LowResolution) { 519bool lowResolution = DisplayInformation.LowResolution; 520bool highContrast = DisplayInformation.HighContrast;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
443return dropShadowEnabled && TopMost && DisplayInformation.IsDropShadowEnabled;
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1464if (!DisplayInformation.MenuAccessKeysUnderlined) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
67if (DisplayInformation.HighContrast) { 70if (DisplayInformation.LowResolution) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
29if (DisplayInformation.HighContrast) { 186if (DisplayInformation.HighContrast) { 189else if (DisplayInformation.LowResolution) {