Use the Windows Vista / Windows 7 Folder Browser Dialog from your WPF projects, without any additional dependencies.
Install-Package WPFFolderBrowser -Version 1.0.2
dotnet add package WPFFolderBrowser --version 1.0.2
<PackageReference Include="WPFFolderBrowser" Version="1.0.2" />
paket add WPFFolderBrowser --version 1.0.2
This project was adapted from the Vista Bridge sample on MSDN https://msdn2.microsoft.com/en-us/library/ms756482.aspx.
As a result, the WPFFolderBrowserDialog class can now be used out of the box in WPF projects, much like the Microsoft.Win32.OpenFileDialog class, which actually lacks only a way to set the FOS_PICKFOLDER option in order to support this scenario (I still hope that some day some one will add this possibility and make this project obsolete!).
Actually, everybody could do this by themselves, but since it took me roughly a day to figure out how to do it, I thought I'd share the result with the community...
This package has no dependencies.
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on WPFFolderBrowser:
#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.