ComboBox for MVVM

Dec 9, 2011 at 12:38 AM
<ComboBox
    DisplayMemberPath="Name" SelectedValuePath="Value"
    ItemsSource="{Binding Path=NameValuePairCollection}"
    SelectedItem="{Binding Path=SelectedNameValuePair, Mode=TwoWay}"
    />