PickerClosingEventArgs class

Applies to Windows and Windows Phone

Provides information about a closing event.

Syntax


public ref class PickerClosingEventArgs sealed 

Attributes

[Version(0x06020000)]

Members

The PickerClosingEventArgs class has these types of members:

Methods

The PickerClosingEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The PickerClosingEventArgs class has these properties.

PropertyAccess typeDescription

ClosingOperation

Read-onlyGets a pickerClosingOperation object that is used to respond to a closing event.

IsCanceled

Read-onlyGets a value that indicates whether the file picker is closing because the user cancelled it.

 

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.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers.Provider
Windows::Storage::Pickers::Provider [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft