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
660
Determine which Business Object property that is bound to a field (the path) from code behind
posted

I have search for this for a while now and feel like an idiot for asking. However, how can I determine the binding path for a given CellValuePresenter. I have looked at the field, the cell, and the CellValuePresenter's template and can not find the binding path anywhere. Is this possible?

 

Thank you

Devin

Parents
No Data
Reply
  • 35319
    posted

    Hello dnapoleon518,

     

    I have been reading though your post and I am not completely sure I understand what is the functionality that you are looking for. I assume that you wish to determine to which property of the data object, given CellValuePresenter is bound. If my assumption is correct you can use the Name property of the Field that corresponds to the CellValuePresenter, since the property to which a Field is bound is determine by the Name property. For example if you have property named ID in your data object the field that corresponds to that property will have its Name property set to "ID".

     

    Please let me know if this is what you are looking for or I have misunderstood you in any way.

Children