Skip to main content
A newer version of this page is available. .

DXSplashScreen Class

Uses the WinForms Splash Screen Manager and enables a Splash Screen, a Wait Form, a Splash Image, and an Overlay Form in XAF Win applications.

Namespace: DevExpress.ExpressApp.Win.Utils

Assembly: DevExpress.ExpressApp.Win.v18.2.dll

Declaration

public class DXSplashScreen :
    ISplash,
    ISupportUpdateSplash,
    ISupportSplashTypes,
    ISupportOverlayForm

Remarks

The DXSplashScreen class uses the WinForms Splash Screen Manager to show, update, and close splash forms. You can use the following forms in XAF applications:

You can pass custom form types, an image, and Overlay From options to a DXSplashScreen constructor and assign the initialized DXSplashScreen instance to the WinApplication.SplashScreen property. The WinApplication object uses DXSplashScreen methods to show splashes where required.

For example, you can add the following code to the WinApplication.cs (WinApplication.vb) file in the WinForms Application project to enable all four splash forms:

namespace MySolution.Win {
    public partial class MySolutionWindowsFormsApplication : WinApplication {
        // ...
        private void InitializeDefaults() {  
            // ...
            SplashScreen = new DXSplashScreen(typeof(MyCustomSplashScreen), typeof(WaitForm), mySvgImage, 
                new DefaultOverlayFormOptions());
            ExecuteStartupLogicBeforeClosingLogonWindow = true;
        }
        // ...
    }
}

You can also use WinApplication methods to show, update and close splash forms. See the Splash Forms article for details.

Inheritance

Object
DXSplashScreen
See Also