Est-il possible d'ajouter une option "Sélectionner tout" si j'appelle la méthode PickMultipleFilesAsync
d'un objet FilePicker
.Option "Sélectionner tout" pour FilePicker
// 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
Si l'utilisateur veut choisir plus d'une chanson, il doit les choisir une à la fois. Et choisir 437 chansons l'une après l'autre n'est pas une très bonne expérience utilisateur.
Il ressemble à ceci: