[]
Gets or sets a value indicating whether the edit operation should be canceled.
public bool Cancel { get; set; }
If this parameter is set to true, the edits are considered invalid. The editor will remain open and the current cell selected until the user provides a valid entry or cancels the edit operation by pressing the ESC key.