Consider the following Parent/Child relationship. What I would like to know is how I would go about creating a GUI for this with the following requirements:
- All Parents or children will contain an image a label and a couple of buttons
- Parents will be collapse able
- New Parents/Children can be added at any time
I was thinking about using an ItemsControl but am unsure how I would get the nesting to work correctly.
Parent 1
|-Parent 2
|-Parent 3
|--P3 Child 1
|--P3 Child 2
|--P3 Child 3
|---P3 C3 Child 1
|---P3 C3 Child 2