[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Collapse]Scaffolding Wizard
   Getting Started
  [Expand]Data Access Layer
   UI Generation
   [Collapse]Building Outlook-Inspired and Hybrid UI Applications
     Lesson 1 - Automatically Generate Outlook-Inspired and Hybrid User Interfaces From Entity Framework
     Lesson 2 - Show Splash Screen on the Start of the Application
     Lesson 3 - Customize Layout of the Collection Views
     Lesson 4 - Show Sparkline Charts in Grid Cells
     Lesson 5 - Use Cards Layout in Collection Views
     Lesson 6 - Use Master-detail Data Representation in Collection Views
     Lesson 7 - Using Conditional Formatting in Grid
     Lesson 8 - Add Advanced End-user Filtering Functionality to Applications
     Lesson 9 - Show Windows 8-style Toast Notifications
     Lesson 10 - Add Windows 7-style Jump List to the Application
     Lesson 11 - Add Custom Actions to Application's Taskbar Thumbnail
   [Expand]Building Office-Inspired Applications
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Lesson 2 - Show Splash Screen on the Start of the Application

This lesson describes how to add a splash screen that is shown at the application startup. All steps in this lesson are similar in both Outlook Inspired and Hybrid App projects.

Open the DevExpress Template Gallery, and run the DXSplashScreen template wizard.

In the DXSplashScreen template wizards, set the splash screen name to “LoadingSplashScreen” and click Add Item.

The added splash screen is a regular WPF UserControl that can be customized in the Visual Studio designer. It contains several elements bound to SplashScreenViewModel properties which allow using the splash screen with the static DXSplashScreen class or through the DXSplashScreenService.

In this tutorial, you will use the DXSplashScreenService. Open the MainWindow.xaml file and run the designer, open the Smart Tag for the root element, and add the DXSplashScreenService.

Customize the added service: set the DXSplashScreenService.SplashScreenType property to the LoadingSplashScreen type and set the DXSplashScreenService.ShowSplashScreenOnLoading property to true.

Below is the resulting XAML.

The splash screen is shown when the application is started. It disappears automatically when the main window is loaded and rendered.

Applications that contain the result of this lesson are available here: DevExpress.OutlookInspiredApp and DevExpress.HybridApp.

Expanded See Also

Is this topic helpful?​​​​​​​