It can be done using :
private async void OnBrowserFolder(object sender, RoutedEventArgs e)
{
var picker = new FolderPicker();
IntPtr windowHandle = new WindowInteropHelper(Application.Current.MainWindow).Handle;
WinRT.Interop.InitializeWithWindow.Initialize(picker, windowHandle);
picker.SuggestedStartLocation = PickerLocationId.VideosLibrary;
var folder = await picker.PickSingleFolderAsync();
this.RecordingFolder.Text = folder.Path;
}
See https://learn.microsoft.com/en-us/windows/apps/develop/ui-input/display-ui-objects