I have a WPF 4.0 DataGrid with AutoGenerated columns. I would like to only allow the user to edit the first column. Is there an easy way of doing this?
I was trying
I got it.... here's what I used:
If you want, you can use Column.DisplayIndex instead of Column.Header
Column.DisplayIndex
I'm still not sure why the binding won't work directly and needs to be referenced by a RelativeSource, but at least it works :)