WPF - When the application loads, do not steal Focus from any other application

I have a simple WPF application. When it loads, and I type in any other application (such as Word or IM), my WPF application steals focus - of course, screwing my input. Now this is the same behavior that I find annoying in other applications. How can I prevent this behavior?

Thank.

+3
source share
1 answer

The setting ShowActivated = falsein your window Show()should do what you want before calling .

+3
source

All Articles