By "at the same level", we mean that if A and B are siblings, their children can be different types even if there are at the same depth in the tree. CellTree doesn't support difference types within the same child list. You'll have to use a common super type or interface and cast as needed.
The following is supported. The children of A and B are different types (Bar and Baz) but are both one level deep:
A (Foo)
- AA (Bar)
- AB (Bar)
- AA (Bar)
B (Foo)
- BA (Baz)
- BB (Baz)
- BC (Baz)
The following is not supported. The children of A cannot be of multiple types.
A (Foo)
- AA (Bar)
- AB (Baz)
- AA (Biz)
Thanks,