Hack Forums
[.NET] Folder to Listview Groups And subfolder to Listview item - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Folder to Listview Groups And subfolder to Listview item (/showthread.php?tid=4595329)



Folder to Listview Groups And subfolder to Listview item - SeNmaN - Dec 21, 2014

Are there some who know how to do this

Image Spoiler (Click to View)

the folder look like this..

ImageSpoiler (Click to View)


* - Only3 - Dec 21, 2014

(Dec 21, 2014 10:48 AM)Odus Wrote:  http://www.codeproject.com/Articles/15244/Groupable-ListView

Loop through each folder, create a new group header, add the files.

ListView.Groups Property http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.groups%28v=vs.110%29.aspx