Skip to content

Instantly share code, notes, and snippets.

Created Feb 15, 2022
What would you like to do?
namespace MauiFolderPickerSample;
public partial class MainPage : ContentPage
private readonly IFolderPicker _folderPicker;
public MainPage(IFolderPicker folderPicker)
_folderPicker = folderPicker;
private async void OnPickFolderClicked(object sender, EventArgs e)
var pickedFolder = await _folderPicker.PickFolder();
FolderLabel.Text = pickedFolder;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment