Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.04 KB

fileopenpickerui_closing.md

File metadata and controls

23 lines (16 loc) · 1.04 KB
-api-id -api-type -api-device-family-note
E:Windows.Storage.Pickers.Provider.FileOpenPickerUI.Closing
winrt event
xbox

Windows.Storage.Pickers.Provider.FileOpenPickerUI.Closing

-description

Fires when the user closes the file picker.

-remarks

As a provider of files, you can register for this event so that your app can execute cleanup tasks before it is closed. For example, if the user cancels the file picker, you could respond by cleaning up temporary files that were added to the file picker when the user chose them.

Register for this event by adding an event listener to the FileOpenPickerUI and assigning a handler function for the event. You can access information about the event from the PickerClosingEventArgs object that is passed to your event handler.

-examples

-see-also