开发者

How to Get the SelectedValue of Combox inside an DataGridTemplateColumn in wpf Datagrid?

开发者 https://www.devze.com 2023-02-09 05:51 出处:网络
I have am DataGridTemplate Column with an Combox inside it.I want to get the selected value of an combox in开发者_StackOverflow an particular row when they cllick on the save button oputside the DataG

I have am DataGridTemplate Column with an Combox inside it.I want to get the selected value of an combox in开发者_StackOverflow an particular row when they cllick on the save button oputside the DataGrid.


That is not a very good approach since you cannot directly access rows or the controls that visualize them from the selection. I'd suggest you use events to signal that changes should be committed or something similar to that.

0

精彩评论

暂无评论...
验证码 换一张
取 消