Basically, I have a collection of Foos.
public class Foo
{
public string Section { get; set; }
public string SubSection { get; set; }
public string item { get; set; }
}
I want my Foo’s to be grouped by Section, then by SubSection.
Section A
Section A1
- Item A1.0
- Item A1.1
Section A2
- Item A2.0
- Item A2.1
- Item A2.2
Section B
... etc
Treeview could be a solution, or you could use a listview and provide your own style template which supports the display of your nested data through binding. Also see this SO question.