forum

home / developersection / forums / how to catch the event of the window close button (red x button on window right top corner) in wpf form?

How to catch the event of the window close button (red X button on window right top corner) in wpf form?

Madam Walker 8036 10-Aug-2013

How to catch the event of the window close button (red X button on window right top corner) in wpf form?

How to catch the event of the window close button(red X button on window right top corner) in 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.

Help me Please.


wpf wpf 
Updated on 10-Aug-2013
Can you answer this question?

Answer

1 Answers

Liked By