¡@

Home 

c# Programming Glossary: phonebookentry

Binding WPF ComboBox to a Custom List

http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list

get return _phonebookEntries public string PhonebookEntry get return _phonebookEntry set if _phonebookEntry value return.. value return _phonebookEntry value OnPropertyChanged PhonebookEntry The _phonebookEntries collection is being initialised in the.. Name SelectedValuePath Name SelectedValue Binding Path PhonebookEntry I am only interested in the actual string value displayed in..

Binding WPF ComboBox to a Custom List

http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list

to Name so I assume that you have a class PhoneBookEntry with a public property Name. Have you set the DataContext to.. the selected item in the combobox and the view models PhoneBookEntry property is set correctly. Here is my xaml Window x Class WpfApplication6.Window1.. DataContext .PhonebookEntry test public class PhoneBookEntry public string Name get set public PhoneBookEntry string name..