PickerClosingEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class PickerClosingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PickerClosingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PickerClosingEventArgs
Public NotInheritable Class PickerClosingEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
This object is passed to the event handler for Closing events.
If your app participates in the File Open Picker contract and a Closing event fires, your app should respond by performing cleanup tasks before your app is closed. For example, if the user cancels the file picker, you could respond to this event by cleaning up temporary files that were added to the file picker when the user chose them.
Properties
ClosingOperation |
Gets a pickerClosingOperation object that is used to respond to a Closing event. |
IsCanceled |
Gets a value that indicates whether the file picker is closing because the user cancelled it. |