PickerClosingEventArgs
PickerClosingEventArgs
PickerClosingEventArgs
PickerClosingEventArgs
Class
Definition
public : sealed class PickerClosingEventArgs : IPickerClosingEventArgspublic sealed class PickerClosingEventArgs : IPickerClosingEventArgsPublic NotInheritable Class PickerClosingEventArgs Implements IPickerClosingEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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 ClosingOperation ClosingOperation ClosingOperation
Gets a pickerClosingOperation object that is used to respond to a closing event.
public : PickerClosingOperation ClosingOperation { get; }public PickerClosingOperation ClosingOperation { get; }Public ReadOnly Property ClosingOperation As PickerClosingOperation// You can use this property in JavaScript.
The pickerClosingOperation object that is used to respond to a closing event.
IsCanceled IsCanceled IsCanceled IsCanceled
Gets a value that indicates whether the file picker is closing because the user cancelled it.
public : PlatForm::Boolean IsCanceled { get; }public bool IsCanceled { get; }Public ReadOnly Property IsCanceled As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the file picker was cancelled by the user. Otherwise, false.