How do I detect when my window loses focus?

wpf
Edit
Report