win ui databinding question

win ui databinding question

Old forum URL: forums.lhotka.net/forums/t/397.aspx


dean posted on Saturday, June 17, 2006

    So I have an order object with an encapsulated contact object. I want to display the contact name on the order form. I think my two choices are :

1. add a readonly name property to object that reads the property from contact
ie get
       return mContact.Name
    end get

2. Maintain an additional binding source on the form for contact and update it whenever the object datasource changes.

I don't see anyway to link to the properties of the encapsulated object directly.

Am I missing anything here?

Dean

Copyright (c) Marimer LLC