i think this might be a stupid question but I can't find it on the internet.
I have just started using WPF forms instead of WF forms. In a WF form I could just do:
I have figured it out a bit of strange way of doing it compared to the old WF forms:
ComboBoxItem typeItem = (ComboBoxItem)cboType.SelectedItem; string value = typeItem.Content.ToString();