True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / BeforeColEditEventArgs Class / Cancel Property

In This Topic
    Cancel Property (BeforeColEditEventArgs)
    In This Topic
    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