我设置了DisplayMemberPathacomboBox和ItemsSource,现在我正在尝试检索selectedText显示的但没有selectedText属性。我试过了
string s = comboBoxItem.SelectedItem.ToString();
但我得到了一个奇怪的价值。如何检索组合框的显示值
我设置了DisplayMemberPathacomboBox和ItemsSource,现在我正在尝试检索selectedText显示的但没有selectedText属性。我试过了
string s = comboBoxItem.SelectedItem.ToString();
但我得到了一个奇怪的价值。如何检索组合框的显示值