C# - WPF - getting folder browser dialog without using System.Windows.Forms?

前端 未结 4 1748
悲&欢浪女
悲&欢浪女 2021-02-13 17:57

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 do

4条回答
  •  太阳男子
    2021-02-13 18:40

    The Ookii Dialogs for WPF library has a VistaFolderBrowserDialog class that provides a complete implementation of a folder browser dialog for WPF.

    https://github.com/augustoproiete/ookii-dialogs-wpf

    There's also a version compatible with Windows Forms apps

提交回复
热议问题