views:

20

answers:

0

Hello

I have been searching the internet for two days and wasn't able to find any solution to my problem.

Here it is.

I have a data structure in wich you can find "Curves" objects and "CurveTypes" objects.

A CurveType contains a collection of other curvetypes (category/subcategories). A CurveType also contains a collection of Curves (items)

I want to display all that in a WPF treeview using HierarchicalDataTemplate in XAML code. I can't figure out how to do that, altought i succeeded in doing it by code, using recursive function.

Thanks in advance for you help !

--bruno