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