protected override bool Update(object newValue) { if (ThisControl.Mode == DataMode.ManageCandidates) { ElectionsPoliticians.UpdateIsIncumbentByElectionKeyOfficeKeyPoliticianKey( (bool)newValue, ThisControl.SafeGetElectionKey(), ThisControl.SafeGetOfficeKey(), ThisControl.GetPoliticianKeyToEdit()); } return(true); }