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
2335
Bind Column with Nested properties or Sub properties
posted

Hi,
We are interested to use nested properties or Sub properties to the grid columns

if we have following structure then how can i bind column of with a Abc propert through Class1 while I am using List<class1> as ItemSource.
class class1
{
 public string A {get; set;}
 public Class2 B {get; set;}
}

class class2
{
 public string Abc {get; set;}
}


Xam Grid as:
  <ig:XamGrid Name="gd">
                    <ig:TextColumn Key="A">
                    </ig:TextColumn>
                    <ig:TextColumn Key="B.Abc">
                    </ig:TextColumn>

....

Can you help use to find how to do this in XamGrid?

Thanks