-api-id | -api-type | ms.custom |
---|---|---|
E:Windows.UI.WindowManagement.AppWindow.CloseRequested |
winrt event |
19H1 |
Occurs after the window starts to close, but before it is closed and before the Closed event occurs.
Important
This event occurs only when the app has the App Close Confirmation restricted capability (<rescap:Capability Name="confirmAppClose"/>
), so it is not applicable to most apps. For more info, see App capability declarations - Restricted capabilities.