Display a Splash Screen in a WPF Application

In order to display a splash screen when your application starts up, follow the below steps:

Step 1: Select an image you wish to show when your application initializes>

Step 2: Add that file to your application

Right click on your project and select add an existing item. Now browse and select the image

Step 3: Select the image and open the property window. Set the Build Action property to the Splash Screen

Step 4: Build and Run the Application

The splash screen will appear in the center of the screen when your application starts.

To remove the splash screen, set the Build Action property of the image to none and to completely remove it from the application, delete the image from the project, or exclude the image from the application.

Ebook Download
View all
Learn
View all