更新时间:2023-12-06 17:28:22
组合框肯定具有Text属性和SelectedText属性吗?您尝试了什么?
Surely the combobox has a Text property, and a SelectedText property ? What have you tried ?
检查要绑定的源.
尝试在组合中使用DataTemplate-
Check the source you are binding to.
Try using a DataTemplate within the combo -
<ComboBox.ItemTemplate><br />
<DataTemplate><br />
<TextBlock Text="{Binding myColumn}" /><br />
</DataTemplate><br />
</ComboBox.ItemTemplate>