views:

19

answers:

1

Hi,

I have a wpf application which uses mvvm pattern.

I need to have a collection in my view-model...which i can bind to multi level tab control.

What type of collection I can use in this case ???

Is there any hierarchical collection in C# 3.5 ???

+2  A: 

You may be able to bind it to a collection like this

Set context to List < Node >

bind to Node or Nodes

public class Node { public List < Node > Nodes {get;set;} }

jeffo