WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

FolderPicker: Missing PickMultipleFoldersAsync method

Open tipa opened this issue 3 months ago • 0 comments

Describe the bug

Similar to the FileOpenPicker to select multiple files, there should be an option for the FolderPicker to allow multiple folders. A possible use-case where this can be helpful is a photo management software in which the user can select the folders which he wants to add. Adding folders one-by-one can be tedious. The Win32 APIs should allow this by using the FOS_ALLOWMULTISELECT flag that already is used in the FileOpenPicker: https://github.com/microsoft/WindowsAppSDK/blob/f3a179cc3fb28c2abbb6b39b08a3bbf0f790d549/dev/Interop/StoragePickers/FileOpenPicker.cpp#L149

Steps to reproduce the bug

var savePicker = new FolderPicker(appWindowId);
var result = await savePicker.PickMultipleFoldersAsync(); // does not exist

Expected behavior

No response

Screenshots

No response

NuGet package version

Windows App SDK 1.8.0: 1.8.250907003

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 LTSC (26100, June Update)

IDE

Visual Studio 2022

Additional context

No response

tipa avatar Sep 19 '25 08:09 tipa