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
Post a Comment