Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"SelectFolderDialog" in .NET

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 :

SelectFolderDialog

Please Note that I dont want to use the FolderBrowserDialog and I need to get the Specific UI described in the SelectFolderDialog

like image 215
Writwick Avatar asked May 25 '12 13:05

Writwick


People also ask

How do I open a folder in WPF?

You can use System. Windows. Forms. FolderBrowserDialog to open the folder, and you can use it like below to get the path.

How do I select a folder in WPF?

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.

How do I use OpenFileDialog?

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.


1 Answers

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.

like image 89
Anders Gustafsson Avatar answered Oct 06 '22 00:10

Anders Gustafsson