Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 930 Bytes

appwindow_closerequested.md

File metadata and controls

27 lines (17 loc) · 930 Bytes
-api-id -api-type ms.custom
E:Windows.UI.WindowManagement.AppWindow.CloseRequested
winrt event
19H1

Windows.UI.WindowManagement.AppWindow.CloseRequested

-description

Occurs after the window starts to close, but before it is closed and before the Closed event occurs.

-remarks

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.

-see-also

Closed, App capability declarations

-examples