)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display the shadow effect in WinForms MetroForm?

Platform: WinForms |
Control: MetroForm |
Published Date: June 1, 2015 |
Last Revised Date: January 6, 2020

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#: http://www.syncfusion.com/downloads/support/directtrac/137601/ze/MetroForm_Shadow1758237992

VB: http://www.syncfusion.com/downloads/support/directtrac/137601/ze/MetroForm_Shadow_VB1635980274

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon