Is there an alternative for selecting folders in C#?
Optimally I'd like to use the OpenFileDialog to select folders, or at least something similar to that.
Is there an alternative for selecting folders in C#?
Optimally I'd like to use the OpenFileDialog to select folders, or at least something similar to that.
Here you have and OpenFileOrFolder dialog and here another FolderBrowserDialog both Open Source.
Ookii Dialogs libraries have an implementation of a folder browser dialog for Windows Forms and WPF
Ookii.Dialogs.WinForms
Ookii.Dialogs.Wpf
For this very reason I developed BetterFolderBrowser. It's a .NET library does just what you need by providing an easy-to-use folder browsing experience that mimics the OpenFileDialog
dialog window. Also, since it works as a component, you'll be able to easily tweak its properties in Design Mode. Hope it helps.
The closest I found myself to what you may want is this:
http://www.codeproject.com/Articles/15059/C-File-Browser
This is a control that you can place on a dialog (form). It allows selecting files or folders. Here is what my implementation looks like:
© 2022 - 2024 — McMap. All rights reserved.