Raise cellvalidating event datagridview

In this situation the editor is not kept active when the validation fails and pressing the Esc key does not revert the changes as the editor is already closed.

There are two ways to manage unwanted execution of event handlers. Data Grid View Cell Validating Event Args' does not contain a constructor that takes '1' arguments" what is the solution for this???????How can I force all the cells to validate in a datagrid in a c# winform application when a Tool Strip Button is pressed?I have individual cell validation working when the user edits the cell it calls my cell validating event.This scenario can be achieved by using the Row Validating event, which is fired when the user tries to change the current row (changing to another row or when the control loses focus).Note that only the Cell Validating event can keep the editor active,when the validation fails and it does not allow the user to exit the cell until a valid value is filled.