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