views:

89

answers:

1

Hello folks!

I was wondering if I can set the splash screen to a programmatic SplashScreen instead of having to do it thru an image.

Any ideas?

Best regards

A: 

No, the splashscreen class in WPF only works with images.

If you want to have something more complete (such a a Window or a UserControl) you should implement your own splash screen logic. It should be easy but you'll probably not be able to show it as fast as the SplashScreen class of the framework.

The framework's splash screen feature uses native code to improve cold startup time.

Jalfp
Maybe I should do some trick on first startup to render a window to an image?
Shimmy
I'm not sure what you're really trying to achieve... Could you give us more detail ?
Jalfp
Maybe, when compiling the application, a helper renders a Window to a png that the splash screen is set to.
Shimmy