Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

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.v22.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DXSplashScreen class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
DXSplashScreen
See Also