Completely hide WPF window on startup?

Viewed 41097

I want that my window is completely hidden on the startup. No window, no entry in the taskbar. The user doesn't see, the application is started.

How can I realize that?

Thank you!

4 Answers

My requirement: Start a process to show a window, and embed it into a wpf control. The window must be loaded normally, trigger initialized/loaded events, then run as child window in control.

My solution: Set the window width and height to 1, after loaded, resize it to normal size. The window will be shown in short time, almost 1 second. User will not notice it.

Related