How to minimize the Folderpicker size?

Sowndarrajan Vijayaragavan 450 Reputation points
2024-08-20T18:10:31.1366667+00:00

Issue:

I am using the below code to pick the folder. By default it is taking full screen size.

Code:

var folder = await FolderPicker.PickAsync(default).
Expectation:
i need to minimize the folder picker screen.
So that in the background i can see my MAUI application aswell.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,931 Reputation points Microsoft Vendor
    2024-08-27T03:10:58.3766667+00:00

    Hello,

    What platform do you need to minimize FolderPicker on? --- Windows

    Thanks for your feedback.

    On the Windows platform, FolderPicker uses the interface provided by WinRT. This interface provides a unified UI for selecting files and folders and cannot be customized.

    You could refer to Open files and folders with a picker for more details.

    Since this issue involves the underlying API of Windows, you cannot implement this feature by changing some options from Maui.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 54,806 Reputation points
    2024-08-20T18:27:29.81+00:00

    There are no options currently provided to do this. I think you should make a feature request to the Community Toolkit team over here.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.