11 references to IsDropShadowEnabled
System.Windows.Forms (1)
System\Windows\Forms\Rendering\DisplayInformation.cs (1)
90s_dropShadowEnabled = SystemInformation.IsDropShadowEnabled;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (1)
601s_dropShadowEnabled = SystemInformation.IsDropShadowEnabled;
System.Windows.Forms.Tests (9)
System\Windows\Forms\SystemInformationTests.cs (2)
295Assert.Equal(SystemInformation.IsDropShadowEnabled, SystemInformation.IsDropShadowEnabled);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
79Assert.Equal(SystemInformation.IsDropShadowEnabled, control.DropShadowEnabled); 169Assert.Equal(SystemInformation.IsDropShadowEnabled ? 0x20808 : 0x808, createParams.ClassStyle); 184yield return new object[] { true, SystemInformation.IsDropShadowEnabled ? 0x20808 : 0x808 }; 215yield return new object[] { true, 1.0, SystemInformation.IsDropShadowEnabled ? 0x20808 : 0x808, -0x7E000000, 0x10000 }; 216yield return new object[] { true, 0.5, SystemInformation.IsDropShadowEnabled ? 0x20008 : 0x8, -0x7E000000, 0x90000 }; 217yield return new object[] { false, 1.0, SystemInformation.IsDropShadowEnabled ? 0x20008 : 0x8, 0x46000000, 0x10000 }; 218yield return new object[] { false, 0.5, SystemInformation.IsDropShadowEnabled ? 0x20008 : 0x8, 0x46000000, 0x10000 };