Is there a WPF control which will show a list of f

2019-04-29 10:08发布

I often need to display a list of files to the user, say, as a result of a search query.

Typically I describe my own simple DataTemplate for FileInfo. But I'm lazy to re-implement all the Explorer's functionality: the Views, Sorting, Context Menus and drag&drop.

I feel like the problem is common and someone has already assembled a good library for this purpose.

3条回答
ら.Afraid
2楼-- · 2019-04-29 10:27

Have you checked Windows API CodePack it had some WPF sample with explore functionality.

查看更多
forever°为你锁心
3楼-- · 2019-04-29 10:31

Windows Api Code Pack comes with a user control (ExplorerBrowser) which you can use directly in your application.

查看更多
唯我独甜
4楼-- · 2019-04-29 10:34

You may look over controls in Shell MegaPack: this FolderView control and this FileView control.

Or look over this article and control.

查看更多
登录 后发表回答