I am struggling with how to efficiently design my class objects to support the outlining of a collection of items. The collection would be sorted but would also have the ability to indent and outdent individual items representing a Parent and Child relationship (see attached).

An item could indent up to 5 levels deep. A summary level would be considered a Parent while items below the summary level would be consider as children. Working examples would be wonderful, or just an outline of the class design to get me going would be much appreciated.

Name:  Outline.jpg
Views: 116
Size:  65.3 KB