Hi, Please see my attachment solution zip.
please see JgbAppTreeView.xaml
<ig:XamDataTree x:Name="MyTree" ItemsSource="{Binding Path=TreeNodes}" > <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="AppLayout" TargetTypeName="EucAppTreeNodeViewModel" DisplayMemberPath="Name"> </ig:NodeLayout> <ig:NodeLayout Key="CategoryLayout" TargetTypeName="CategoryTreeNodeViewModel" DisplayMemberPath="Name"> </ig:NodeLayout> <ig:NodeLayout Key="ReportLayout" TargetTypeName="ReportTreeNodeViewModel" DisplayMemberPath="Name"> </ig:NodeLayout>
</ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
the viewmodel is in another assembliy
It does not work now, could you please help me to take a look, how to set TargetTypeName value
Thanks a lot!
Hi, I solved myself. Thanks
Hello Shenghao,
I am glad you were able to resolve this issue. Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support