How do I detect when my window loses focus?
Use the Window.Deactivated
event.
You may be looking for the Application.Deactivated
event, which fires only if the user switched to a different application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With