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
745
Nested / custom node layout
posted

Hi,

Basically, I have an object such as :

public class MyClass
{
        public MyClass2 PropertyA {...}
        public MyClass PropertyB {...}
        public ObservableCollection<MyClass3> PropertyC {...}
}

I'm trying to use the XamDataTree to render the properties of my objects, creating one tree view node for each property. Properties which implements IEnumerable should should get child nodes which follows the same principle.

Is it event possible to use the xamDataTree for this purpose? Note that "MyClass" has a property that is of the same type as itself.

Using a nodelayout, is there some way to specify the names of the properties that should be rendered as a node? Or is there some way I can inherit from the xamDataTree to control the node rendering myself?

-Thanks!