This walkthrough says you can create a WPF datagrid in one line but doesn\'t give a full example.
So I created an example using a generic list and connected it to th
I was trying to figure out why the identical code as given by JohnB's answer did not work for me, and the problem was that the model object (Customer) did not have properties, but fields. Converting them to properties fixed my problem.