I use a WPF data grid to edit a database table. The table contains several records with 16 columns (properties).
I want to make a column read only if the user tries to edit it when one of the columns of the selected record has a specific value (in other words, disable editing of that particular column for certain records).
I was thinking to bind to column IsReadOnly property, but I do not know how to pass the column which I need to verify (or at least the current row) as a converter parameter.
Does anybody have an idea how to do this?