0

Is there a possibility to add a "Select all" option if I call the PickMultipleFilesAsync method of a FilePicker object.

// Create the songs picker
var songsPicker = new FileOpenPicker();
songsPicker.SuggestedStartLocation = PickerLocationId.MusicLibrary;
songsPicker.ViewMode = PickerViewMode.List;
songsPicker.FileTypeFilter.Add(".mp3");
songsPicker.FileTypeFilter.Add(".wav");
songsPicker.FileTypeFilter.Add(".wma");

var inputFiles = await songsPicker.PickMultipleFilesAsync(); // Let the user pick the songs

If the user wants to pick more than one song he has to pick them one at the time. And picking 437 Songs one after another isn't a very good user experience.

It looks like this:

enter image description here

Matthieu Brucher
  • 21,634
  • 7
  • 38
  • 62

2 Answers2

2

AS @Tóth Tibor suggested, the multiple file picker UI is not designed for selecting all items. Picking the top level folder should be a solution.

If we need to request a new feature, please submit a feedback in Windows developer feedback site. For the same feature request item, please vote it.

Community
  • 1
  • 1
Franklin Chen - MSFT
  • 4,845
  • 2
  • 17
  • 28
1

Sadly you cannot modify at this level the FileOpenPicker's UI.

Alternative way you can pick a whole folder with FolderOpenPicker.

Tóth Tibor
  • 1,526
  • 12
  • 21