ComponentOne List for WinForms
C1.Win.List 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 Boolean
    public 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