How to override default window close operation ?

Posted by drasto on Stack Overflow See other posts from Stack Overflow or by drasto
Published on 2010-06-08T21:42:37Z Indexed on 2010/06/08 21:52 UTC
Read the original article Hit count: 182

Filed under:
|
|

In WPF I want to change default close behaviour of some window, so that when user clics red close button the window does not close, it merely hides (and call some method as well). How can I do that?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf