Getting binding expression out of a DataGridTemplateColumn's CellTemplate in code-behind
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm looking for a possibility to read the binding expression out of a DataGridTemplateColumn's CellTemplate in code behind. My template columns look like this:
Now I want to get the value of the binding path in the datatemplate. In this case, I'like to get the value "City". Any tips would be greatly appreciated. Kind regards, Nico