There is no SelectFolderDialog
in .NET but It is present itself in Visual Studio 2010
.
I was wondering if there is any external .net component like this form.
Here is the VS2010 Dialog :
Please Note that I dont want to use the FolderBrowserDialog
and I need to get the Specific UI described in the SelectFolderDialog
You can use System. Windows. Forms. FolderBrowserDialog to open the folder, and you can use it like below to get the path.
If you want to select a folder in a dialog in WPF, you can use the FolderBrowserDialog from Winforms. To specify the first set folder when opening the dialog box, you must set the SelectedPath to do this without setting a RootFolder. SelectedPath: View of the folder dialog when the default path is set.
To create an OpenFileDialog control at design-time, you simply drag and drop an OpenFileDialog control from Toolbox to a Form in Visual Studio. After you drag and drop an OpenFileDialog on a Form, the OpenFileDialog looks like Figure 2. Adding an OpenFileDialog to a Form adds following two lines of code.
Here is a library that provides access to the folder browser dialog etc. http://www.ookii.org/software/dialogs/
It is a wrapper around several Win32 dialogs, it provides both a Windows Forms and WPF variant, and it provides the "Vista style" SelectFolderDialog that you have displayed for example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With