wpf treeview mvvm -


I am trying to populate a treeview using mvvm, but the tree does not display any data I have an employee list which is a property in my VM that includes employee data. I Xaml is as follows.

  Style Target Type = "{x: Type Tree VIIIIT}" & gt; & Lt; Setter property = "fontwhite" value = "normal" /> & Lt; / Style & gt; & Lt; /TreeView.ItemContainerStyle> & Lt; TreeView.ItemTemplate & gt; & Lt; Hierarchical data items source = "{binding empList}" & gt; & Lt; Text block text = "{binding empName}" /> & Lt; / HierarchicalDataTemplate & gt; & Lt; /TreeView.ItemTemplate> & Lt; / TreeView & gt;  

Am I missing anything

thanks

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -