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)
295
Assert.Equal(SystemInformation.
IsDropShadowEnabled
, SystemInformation.
IsDropShadowEnabled
);
System\Windows\Forms\ToolStripDropDownTests.cs (7)
79
Assert.Equal(SystemInformation.
IsDropShadowEnabled
, control.DropShadowEnabled);
169
Assert.Equal(SystemInformation.
IsDropShadowEnabled
? 0x20808 : 0x808, createParams.ClassStyle);
184
yield return new object[] { true, SystemInformation.
IsDropShadowEnabled
? 0x20808 : 0x808 };
215
yield return new object[] { true, 1.0, SystemInformation.
IsDropShadowEnabled
? 0x20808 : 0x808, -0x7E000000, 0x10000 };
216
yield return new object[] { true, 0.5, SystemInformation.
IsDropShadowEnabled
? 0x20008 : 0x8, -0x7E000000, 0x90000 };
217
yield return new object[] { false, 1.0, SystemInformation.
IsDropShadowEnabled
? 0x20008 : 0x8, 0x46000000, 0x10000 };
218
yield return new object[] { false, 0.5, SystemInformation.
IsDropShadowEnabled
? 0x20008 : 0x8, 0x46000000, 0x10000 };