Author: Benjamin Perkins

Add Key Value Pairs to a Combobox using WPF and C#

Benjamin Perkins C#

It’s pretty easy to populate and read from a ComboBox when the selected item is the same as the selected value. I.e. just simply use: [sourcecode language=”csharp” padlinenumbers=”true”] string selection = comboBox1.SelectedValue.ToString(); [/sourcecode] However, when you need the value to be different from the item (I.e. display value). Perhaps you want to display the Month […]

Read More →