标签: wpf data-binding datagrid combobox
我要将项目源绑定到wpf ComboBox DataGrid中窗口加载事件的edititemtemplate。那么,如何从代码中调用ComboBox来绑定数据?
ComboBox
DataGrid
edititemtemplate
答案 0 :(得分:0)
comboBox.SelectionChanged += (a, b) => { comboBox.SelectedValue.ToString(); };