I just checked this out with an app I have written, and the
IsCurrentCellDirty property does change. When are you checking it? When you
click a DatGridViewCheckBoxCell, there are several events that fire,
depending on the circumstances. First, if another cell had the focus, the
CellEndEdit event fires. At this point, the CurrentCell is not the
DataGridViewCheckBoxCell. After it is checked, the CellValidating event
fires. At this point, the IsCurrentCellDirty property is still false, even
though the CheckBox value is changed. It is when the CellEndEdit event fires
that the actual underlying value is changed, and the IsCurrentCellDirty
property is true.
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Surgery
Expect the unaccepted.