How do I get the selected value (eg Option1) as a string from my example below. I\'ve tried loads of suggestions on Google but can\'t get the string.>
Option1
string
string Value=""; if(myComboBox.SelectedIndex>=0) Value=((ComboBoxItem)myComboBox.SelectedItem).Content.ToString();