通过nuget安装包:Microsoft.WindowsAPICodePack-Shell
CommonOpenFileDialog dialog = new CommonOpenFileDialog(); dialog.IsFolderPicker = true; dialog.ShowDialog();
效果: