Is it possible to have a ListViewGroup inside of a ListViewGroup in a C# ListView?
I'm gathering all the files/folders on a drive with a ListView and want to separate them with ListViewGroup. I have this code working fine. But I'm not sure that I see any way to add a group within a group.
For example:
Group "C:\AMD"
Files in folder
Group "C:\AMD\Lib"
Files in folder
Group "C:\Windows"
Files in folder
...etc
I am able to get each folder in its own group fine - I just thought it would be nice to have a subgroup like you see with TreeView.
No.
ListViewGroups
cannot nest.You can use a TreeListView