[]
Gets or sets a value indicating that editing should be disallowed.
public bool Cancel { get; set; }
If event procedure sets the Cancel argument to True, the cell will not enter edit mode. Otherwise, the ColEdit event is raised immediately, followed by the Change event for the KeyChar property, if non-zero.