Category / Section
How to display the shadow effect in WinForms MetroForm?
7 mins read
Display the shadow effect
The MetroForm comes with the feature of Shadow effect. The shadow effect of the MetroForm is disabled, by default. To display the shadow effect in MetroForm, enable the DropShadow property.
C#
//To set the shadow effect of the MetroForm this.DropShadow = true;
VB
'To set the shadow effect of the MetroForm Me.DropShadow = True
Note:
You can show or hide the shadow effect of the MetroForm by enabling or disabling the “DropShadow” property in MetroForm.
The following screenshot illustrates the Shadow effect of the MetroForm.
Figure 1: Shadow effect of the MetroForm
Samples:
C#: https://www.syncfusion.com/downloads/support/directtrac/137601/ze/MetroForm_Shadow1758237992
VB: https://www.syncfusion.com/downloads/support/directtrac/137601/ze/MetroForm_Shadow_VB1635980274