Click here to Skip to main content
15,919,749 members
Articles / Desktop Programming / WPF

WPF: Close command on the Window close button

Rate me:
Please Sign up or sign in to vote.
2.33/5 (2 votes)
8 Sep 2009GPL3 52.1K   5  
I could not find a good solution to this anywhere, so here is mine (which I think is a bit of an abuse of attached properties, but hey ho!).

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer
United Kingdom United Kingdom
We cannot achieve perfection but we can strive for excellence. Excellence through creativity that pushes innovation, collaboration that facilitates productivity, knowledge that empowers people and persistence that eventually pays off !

Enjoy what you do and do what you enjoy !

Comments and Discussions