Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1540
No Close event for the XamDialogWindow control
posted

I have read the post titled How to catch the closed event of xamDialogWindow but I can't see where that helps me.

I want to execute a handler routine when the Close button is clicked.  Assuming the WindowStateChanging Event fires when the Close button is clicked, I don't see where this helps. There is no WindowState for Closing or Closed.  The only states per documentation are: Hidden, Maximized, Minimized, and Normal. And the WindowStateChangingEventArgs.Cancel property seems intended to allow canceling the WindowStateChanging Event.

So, please elaborate on how to sense a Close button click and execute a procedure in response.

Parents Reply Children