我有这样的 WPF 应用程序,我想有从用户得到一个目录路径有作用。我想用某个文件夹的浏览器对话框,而是我不要想从 System.Windows.Forms的实现它
或内部使用一些巨大的脚本。有一些路径在WPF中获得对话已经实现了?
I have this WPF app and I want to have there function of getting a directory path from the user. I would like to use some folder browser dialog but I don't want to implement it from System.Windows.Forms
or use some huge script inside. Is there some path getting dialog in WPF already implemented?
我已阅读答案类似的问题在这里,但它充满了System.Windows.Forms的..
I have read answers to similar questions here but it was full of System.Windows.Forms..
我还没有发现类似的事情在工具箱中,我开始使用WPF,所以我可以使用一些帮助。
I haven't found anything like that in the Toolbox and I'm starting with WPF so I could use some help.
感谢你在前进:]
请参阅我的回答的选择文件夹对话框WPF 。基本上的Windows presentation基金会4.5食谱建议您使用的Windows®API code包为Microsoft .NET框架如果你需要一个文件夹浏览器
See my answer to Select folder dialog WPF. Basically the Windows Presentation Foundation 4.5 Cookbook recommends that you use the Windows® API Code Pack for Microsoft® .NET Framework if you need a folder browser.