Binding to Silverlight ComboBox and Using SelectedValue, SelectedValuePath and DisplayMemberPath

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Tue, 11 May 2010 00:00:00 GMT Indexed on 2010/05/11 8:44 UTC
Read the original article Hit count: 174

Filed under:
How do you bind a ComboBox to a collection of objects, and then bind a property from the selected objects to some other scalar property? I received this question today from a friend of mine (a variation of this question). I decided to walk through the scenario here in case anyone else runs into it. This is one of those things that can be confusing it is simple, but it is is much easier shown the explained. This post lays out the scenario and you can download the sample code at the end. When we...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner