12 references to DisplayInformation
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
8093if (BackgroundImage is not null && !DisplayInformation.HighContrast && !formRTL)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
92if (Control.BackgroundImage is not null && !DisplayInformation.HighContrast)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (3)
341if (!DisplayInformation.LowResolution) 389bool lowResolution = DisplayInformation.LowResolution; 390bool highContrast = DisplayInformation.HighContrast;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
315return _dropShadowEnabled && TopMost && DisplayInformation.IsDropShadowEnabled;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
663=> DisplayInformation.MenuAccessKeysUnderlined || ModalMenuFilter.Instance.ShowUnderlines;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
59if (DisplayInformation.HighContrast) 64if (DisplayInformation.LowResolution)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
27if (DisplayInformation.HighContrast) 200if (DisplayInformation.HighContrast) 204else if (DisplayInformation.LowResolution)