I'm currently styling HierarchicalDataTemplates for a TreeView. Each Item has a TextBlock which should display the items current hierarchical location in the TreeView:
> Item = 1
>- Item = 1.1
>-- Item = 1.1.1
>- Item = 1.2
> Item = 2
I looked up "AlternationCount" but i don't think this will provide the right solution.
How to retrieve or generate the current hierarchical location of an item inside a TreeView?