FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / ValidateEditEventArgs Class / Cancel Property

In This Topic
    Cancel Property (ValidateEditEventArgs)
    In This Topic
    Gets or sets a value indicating whether the edit operation should be canceled.
    Syntax
    'Declaration
     
    
    Public Property Cancel As Boolean
    public bool Cancel {get; set;}
    Remarks
    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.
    See Also