Articles in this section
Category / Section

How to close the WinForms SplashPanel by clicking the splash panel button?

1 min read

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.

C#

//Closes the Splash panel.
this.splashPanel1.CloseOnClick = true;
//Shows the Splash panel.
this.splashPanel1.ShowSplash();
//Hides the Splash panel.
this.splashPanel1.Hide();

VB

'Closes the Splash panel.
Me.splashPanel1.CloseOnClick = True
'Shows the Splash panel.
Me.splashPanel1.ShowSplash()
'Hides the Splash panel.
Me.splashPanel1.Hide()

 

Note:

In the Splash panel, the default value of the “CloseOnClick” is set to false. So, the property has to be enabled to achieve it.

 

Splash panel shows at the bottom right

Figure 1: Splash panel shows at the bottom right

Samples:

C#: SplashPanel_C#

VB: SplashPanel_VB

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

 

Conclusion

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 forumsDirect-Trac, or feedback portal. We are always happy to assist you!

 

 

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