“SelectFolderDialog” in .NET

前端 未结 2 1556
你的背包
你的背包 2021-01-05 22:41

There is no SelectFolderDialog in .NET but It is present itself in Visual Studio 2010.

I was wondering if there is any external .net compon

相关标签:
2条回答
  • 2021-01-05 23:29

    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.

    0 讨论(0)
  • 2021-01-05 23:37

    To gain access to the posh new Vista folder selection dialog then I believe that you need to either:

    1. Use a third party component, or
    2. Use the native IFileDialog component.

    Option 2 is easy enough using the Windows API CodePack. You need to include the FOS_PICKFOLDERS option. The CodePack comes with lots of examples. I commend it to you.

    0 讨论(0)
提交回复
热议问题