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

373 views Asked by At

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

1

There are 1 answers

0
brunnerh On

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.