ComponentOne True DBGrid for WinForms
Cancel Property (BeforeColEditEventArgs)

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > BeforeColEditEventArgs Class : Cancel Property
Gets or sets a value indicating that editing should be disallowed.
Syntax
'Declaration
 
Public Property Cancel As System.Boolean
public System.bool Cancel {get; set;}
Remarks
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.
See Also

Reference

BeforeColEditEventArgs Class
BeforeColEditEventArgs Members