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
550
Bind to Property of Property
posted

I am trying to cread a field layout that is bound to a property of a property.  Something like this

<igDP:Field Name="Property1.Property2" Label="Property2"  />

It does not work at all.  I know this should be simple.

I have my DataSource property bound to the data context.

 

 

 

<

 

igDP:XamDataGrid DataSource="{Binding Path=Items }" >

  • 69686
    Verified Answer
    posted

    Hello,

    If you want to target a subproperty of a class, you must use an UnboundField and set its BindingPath property to Property1.Property2