There is a solution on this site that deals with getting DataGrid
cell values w/out using the bound collection. In that solution a reference to GetVisualChild<T>
is made...
Get all cells in datagrid
Apparently MS, in their infinite wisdom, has decided to deprecate GetVisualChild<T>
and there is only GetVisualChild(int)
.
I know we are being directed to use the bound object but, sometimes, you just have to work directly with the grid data.
Does anyone have a SUCCESSFUL means of getting cell values from a DataGrid
(WPF) sans bound object?