data binding on properties confusion

Posted by Xience on Stack Overflow See other posts from Stack Overflow or by Xience
Published on 2010-06-13T21:34:47Z Indexed on 2010/06/13 21:42 UTC
Read the original article Hit count: 332

I have a wpf tabitem whose data context is set to my object 'Product'. All the controls on this form get their data from 'Product' object. I have a listview whose ItemsSource property is set to a list in my object 'Product.DetailsList'. Listview columns are bound to object properties in 'Product.DetailsList'

Up till here everything works fine. Now I need to bind some of the columns in my listview to the properties in my datacontext object i.e.'Product'. Can someone tell me how can i achieve this?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about databinding