Replies: 1 comment 1 reply
-
|
The AppWindow provides this: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindow.closing?view=windows-app-sdk-1.5 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The WinUI3 Window provides an after the fact Closed event, but is missing the Closing event like existed in the Presentation Framework. That gives you the hability to prevent a window to close at the wrong time, or asking the user for confirmation.
Beta Was this translation helpful? Give feedback.
All reactions