Microsoft has provided some properties to help us along picking what we want to display as choices and what we want to the View Model to select from the choice. A few weeks ago, a friend convinved me to start looking into WPF, XAML and the MVVM pattern. NET Web Forms & MVC2 applications and core system design/development, I haven’t had any exposure to these new(er) technologies, and I thought it might be fun to see what all of the fuss is about. I am using terms in this post in a way which assumes that you are using the MVVM pattern.
The Display Member Path let us choose which property of the Key Value Pair in the Dictionary we will display.For more information, see Implement Property Change Notification.Set the Notify On Target Updated or Notify On Source Updated property (or both) to in the binding.The Selected Value Path let's us choose what property of our Key Value Pair we will actually return when the user makes a selection.We only want the abbreviation or the Key of the Dictionary, so we'll bind Selected Value Path to the Key.