Retrieve display value of combobox winrt
问题 I set the DisplayMemberPath of a comboBox as well as the ItemsSource , now i'm trying to retrieve the selectedText that is displayed but there is no selectedText property. I tried string s = comboBoxItem.SelectedItem.ToString(); but i'm getting a weird value. How do I retrieve the Displayed value of the comboBox 回答1: For comboBox1 , in C# winforms, you can get the selected value with comboBox1.SelectedItem.ToString() . In WPF (what apparently you want), you can get this information directly