WPF: Databinding and Combo Boxes

Posted by Jonathan Allen on Stack Overflow See other posts from Stack Overflow or by Jonathan Allen
Published on 2010-03-20T06:59:50Z Indexed on 2010/03/20 7:11 UTC
Read the original article Hit count: 537

Filed under:
|

I have two classes

Company
    CompanyKey
    CompanyName

Person
    FirstName
    LastName
    CompanyKey

The list items on the combo box is bound to a collection of CompanyObjects.

How to I databind the selected item property of the Combobox to the Person.CompanyKey property?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-binding