The hierarchy depends on the structure of your data - if it is self-referencing or not.
You may find additional information and an example about Unlimited Hierarchy defined in XAML in this forum post. Have you already taken a look at this online demo about HierarchyChildTemplate?
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items