C# Class PhotoSharingApp.Universal.Storage.FilePickerHelper

Helper class which provides default settings for the file picker for opening photos.
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
CreateFileOpenPickerWithDefaultParams ( ) : FileOpenPicker

Creates the file open picker with default parameters suitable for opening photos.

PickSingleFile ( ) : Task

Shows the file picker to let the user choose a single file.

Method Details

CreateFileOpenPickerWithDefaultParams() public static method

Creates the file open picker with default parameters suitable for opening photos.
public static CreateFileOpenPickerWithDefaultParams ( ) : FileOpenPicker
return Windows.Storage.Pickers.FileOpenPicker

PickSingleFile() public static method

Shows the file picker to let the user choose a single file.
Thrown when image is too small.
public static PickSingleFile ( ) : Task
return Task