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
40
XamDataTree
posted

Hi? Some problem in my code, So I need Some help.

I want to create Multiple Node from XamDataTree .

There are Lists. I try to create 3 nodes A, B, C as User's requirement. and then allocates Lists to each nodes A,B,C.( It wasn't define allocation condition not yet but Lists had been defined)

Here are parts of Code.

<xaml>

<ig:XamDataTree x:Name = "layerTree" ...>

<igXamDataTree.GlobalNodeLayouts>

<ig:NodeLayout TargetTypeName="obejct" DisplayMemberPath="Name">

<cs>

var dataSource = (from layer in layerList.Table[0].AsEcnumerable() ...);

List<object> layers = (List<object>)dataSource.ToList();

layerTree.ItemSource = layers;


Thank you for your Help.