12 references to DisplayInformation
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
8052
if (BackgroundImage is not null && !
DisplayInformation
.HighContrast && !formRTL)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
92
if (Control.BackgroundImage is not null && !
DisplayInformation
.HighContrast)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (3)
341
if (!
DisplayInformation
.LowResolution)
389
bool lowResolution =
DisplayInformation
.LowResolution;
390
bool highContrast =
DisplayInformation
.HighContrast;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
315
return _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)
59
if (
DisplayInformation
.HighContrast)
64
if (
DisplayInformation
.LowResolution)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
27
if (
DisplayInformation
.HighContrast)
200
if (
DisplayInformation
.HighContrast)
204
else if (
DisplayInformation
.LowResolution)