余经常需要显示的文件的列表的用户,比方说,作为搜索查询的结果。
I often need to display a list of files to the user, say, as a result of a search query.
通常我形容我自己的简单的DataTemplate的的FileInfo
。但我懒得重新实现所有的资源管理器的功能:在浏览,排序,上下文菜单,拖动和放大器;下降
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.
你检查的Windows API codePack它有一些WPF样品与探索功能。
Have you checked Windows API CodePack it had some WPF sample with explore functionality.