PickerClosingEventArgs class

This topic has not yet been rated - Rate this topic

Provides information about a closing event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

VersionAttribute(NTDDI_WIN8)

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]

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.