Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Collapse]Forms and User Controls
    XtraForm
    Ribbon Form
    Tabbed Form
    XtraUserControl
    Form Assistant
    Taskbar Assistant
   [Collapse]Splash Screen Manager
    [Expand]Examples
     Splash Screen Manager Overview
     Splash Screen
     Splash Image
     Wait Form
     Splash Form Position
     Splash Screen Manager Serialization Specifics
   [Expand]Adorner UI Manager
   [Expand]Examples
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Splash Screen Manager Serialization Specifics

A SplashScreenManager component is serialized differently depending on the selected Active Splash Form (the SplashScreenManager.ActiveSplashFormTypeInfo property).

Expanded The Active Splash Form is a Splash Screen or None

An instance of the SplashScreenManager class is declared as a local variable within your main form's InitializeComponent method. This serialization approach ensures that a Splash Screen Manager is initialized before all other components, and the selected Splash Screen is launched at the very first moment your form starts. However, take note that you will not be able to address the local instance of the SplashScreenManager component that is declared within the InitializeComponent method.

Here are the methods you can use in this scenario.

  • To manually open and close splash forms, use the static methods provided by the SplashScreenManager class.
  • To interact with the currently displayed splash form, use non-static methods provided by the SplashScreenManager.Default object.

Expanded The Active Splash Form is a Wait Form

An instance of the SplashScreenManager class is declared as a local variable of you form, outside the InitializeComponent method. In this case, you can open, close and interact with the selected Wait Form using a SplashScreenManager's non-static methods, accessible via the SplashScreenManager instance. These methods are: SplashScreenManager.ShowWaitForm, SplashScreenManager.CloseWaitForm, SplashScreenManager.SetWaitFormCaption, SplashScreenManager.SetWaitFormDescription and SplashScreenManager.SendCommand.

How would you rate this topic?​​​​​​​