title: How to make WPF datagrid cell ReadOnly for certain rows?
body: <p>I use a WPF data grid to edit a database table. The table contains several records with 16 columns (properties). </p>
  
  <p>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).</p>
  
  <p>I was thinking to bind to column <strong>IsReadOnly</strong> 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.</p>
  
  <p><strong>Does anybody have an idea how to do this?</strong></p>