views:

72

answers:

1

Hi,

I have a combobox which should have a datatemplate to hold several columns (along with its headers). I have created a simple DataTemplate, but I can't seem to display a ListView in it. All I can do is have the DataTemplate hold a StackPanel which then binds to my individual rows. But this way I cannot add Headers to each 'column'.

Also I am struggling with the DisplayMemberPath. When I have an ItemTemplate this is displayed when the combobox is collapsed as well. I would like this to be simply one field.

any suggestions? Thanks

A: 

Check out this post.

Tri Q
Thanks, I had already found it, but you have to google for specific terms apparently.
Patrick