wpf datagridcheckboxcolumn: how to enable/disable checkboxes

I have a DataGrid with DataGridCheckBoxColumn. The grid has a binding with a list of objects. I want that, if there are N checkboxes checked, the unchecked become disabled, but I don't know how to