"SelectFolderDialog" in .NET

There is no SelectFolderDialog in .NET, but it is present in Visual Studio 2010 .

I was wondering if there is any external .net component similar to this form.

Here is the VS2010 dialog:

SelectFolderDialog

Note that I do not want to use FolderBrowserDialog , and I need to get the specific interface described in SelectFolderDialog

+4
source share
2 answers

To access the new new Vista folder selection dialog , I think you need either:

  • Use a third-party component or
  • Use your own IFileDialog component.

Option 2 is simple enough using the Windows API API code . You need to enable the FOS_PICKFOLDERS parameter. CodePack comes with many examples. I recommend it to you.

+2
source

Here is a library that provides access to the folder dialog, etc. http://www.ookii.org/software/dialogs/

This is a wrapper around several Win32 dialog boxes, it provides both Windows Forms and WPF options, and it also provides the Vista SelectSolderDialog style that you, for example, displayed.

+3
source

Source: https://habr.com/ru/post/1414376/


All Articles