Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Layouts based on node types, which are derived from same base
posted

Hello,


I'm using XamDataTree. The tree to display has nodes of several types. Every node can have subnodes of more than one type. That's why all node type view models are derived from the same base node view model. Because the types differ widely, it is necessary to have separate Layouts for each type to display it. I thought to achive this by using the GlobalNodeLayouts feature. But there is always used the layout for the base class. How can I solve this problem? To show the situation I append a simple example.

Thanks in advance.

DataTreeNodeLayoutBasedOnClass.zip

Parents Reply Children