开发者

Is there a WPF control which will show a list of files in an Explorer-like view?

开发者 https://www.devze.com 2022-12-19 08:32 出处:网络
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 r开发者_开发百科e-implement all

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 r开发者_开发百科e-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.


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


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

Or look over this article and control.


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

0

精彩评论

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

关注公众号