开发者

Does WPF have a control for browsing the local file system?

开发者 https://www.devze.com 2023-01-07 00:29 出处:网络
I would like to add a control to my app where the user can browse his local file system and select a directory.I wou开发者_Python百科ld prefer to host this control on my main app window, and not do th

I would like to add a control to my app where the user can browse his local file system and select a directory. I wou开发者_Python百科ld prefer to host this control on my main app window, and not do this via a pop-up dialog.


There isn't one built in.

You can either use the WinForms file/folder browser, search Code Project or similar site for someone else's implementation or write your own.

I've found one on Ookii Dialogs that includes some other standard dialogs.


If you want to host the controls on your own form, use controls from Shell MegaPack.WPF

0

精彩评论

暂无评论...
验证码 换一张
取 消