title: Is there an e.CloseReason for WPF?
body: <p>I'm a big fan of taking control of every possible situation on the computer when it comes to making apps. And now that I'm beginning to use favor WPF over WinForms for some things, I'm also beginning to realize that many really cool things are missing in WPF - and searching for alternatives seems to be a never-ending struggle.</p>
  
  <p>Is there an alternative in WPF to <code>e.CloseReason</code> for WinForms?</p>