Search This Blog

Tuesday, October 29, 2013

Display SplashScreen From Resource File WPF


WPF > Windows > SplashScreen 

SplashScreen shows an image when a WPF application starts or in a startup window.
Call the Show method to display the splash screen.
Supported image format: BMP, GIF, JPEG, PNG, TIFF.

Example:

var splashScreen = new SplashScreen( resourceName : "Resources/loading1.gif");
splashScreen.Show(false);