Articles in this section
Category / Section

How to display the shadow effect in WinForms MetroForm?

2 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.

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied