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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display WinForms SplashPanel at the custom location?

Platform: WinForms |
Control: SplashPanel

Display splash panel

You can specify the custom location for the splashpanel by setting the DesktopAlignment property of the SplashPanel to the SplashAlignment.Custom. It shows the Splash panel in the specified location. The following code example displays the SplashPanel at the current mouse position.


// Specifies the splash panel alignment.
this.splashPanel1.DesktopAlignment = Syncfusion.Windows.Forms.Tools.SplashAlignment.Custom;
// Specifies the custom location.
Point pt = Control.MousePosition;
// Shows the Splash panel at the specified location.
this.splashPanel1.ShowSplash(pt, this, false);


'Specifies the splash panel alignment.
Me.splashPanel1.DesktopAlignment = Syncfusion.Windows.Forms.Tools.SplashAlignment.Custom
'Specifies the custom location.
Dim pt As Point = Control.MousePosition
'Shows the Splash panel at the specified location.
Me.splashPanel1.ShowSplash(pt, Me, False)



The default value of the DesktopAlignment is set as center and it sets the splash panel at the middle of the screen.



Show the splash panel in custom location

Figure 1: Splash panel in the custom location


C#: SplashPanel_CustomLocation_C#

VB: SplashPanel_CustomLocation_VB

Reference link: https://help.syncfusion.com/windowsforms/splash-panel/display-settings

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
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