I have a DataGridView associated with a list of POCO objects. One of the properties of POCO is bool, which is represented by a checkbox. I would like to be able to select multiple rows, and then when I click one of the checkboxes, all the highlighted rows have their own checkboxes. As an example, if you use TFS under VS 2010, I am trying to reproduce the behavior on the screen of pending changes.
My problem is that I cannot find a suitable event to listen to. Most clickGridView events seem to work at the Column / Row level, and I want something that fires when you click this checkbox. CellContentClick is the closest, but it fires after no rows have been selected so as not to work.
Does anyone have any suggestions?
source share