How to close the WinForms SplashPanel by clicking the splash panel button?
Close the splash panel
The WinForms Splash panel cannot be closed when you click on it, by default. When the CloseOnClick property of the Splash panel is enabled, the Splash panel can be closed on clicking. The following code example demonstrates the same.
//Closes the Splash panel. this.splashPanel1.CloseOnClick = true; //Shows the Splash panel. this.splashPanel1.ShowSplash(); //Hides the Splash panel. this.splashPanel1.Hide();
'Closes the Splash panel. Me.splashPanel1.CloseOnClick = True 'Shows the Splash panel. Me.splashPanel1.ShowSplash() 'Hides the Splash panel. Me.splashPanel1.Hide()
In the Splash panel, the default value of the “CloseOnClick” is set to false. So, the property has to be enabled to achieve it.
Figure 1: Splash panel shows at the bottom right
Reference link: https://help.syncfusion.com/windowsforms/splash-panel/display-settings
I hope you enjoyed learning about how to close the WinForms SplashPanel by clicking the splash panel button.
You can refer to our WinForms SplashPanel’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms SplashPanel documentation to understand how to present and manipulate data.
For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms SplashPanel and other WinForms components.
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!