title: How to catch the event of the window close button(red X button on window right top corner) in wpf form?
body: <p>How can I catch the event of the window close button(red X button on window right top corner) in a WPF form? We have got the closing event, window unloaded event also, but we want to show a pop up if he clicks the close button of the WPF form.</p>