ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / EditModeEnteringEventArgs Class / Cancel Property

In This Topic
    Cancel Property (EditModeEnteringEventArgs)
    In This Topic
    Gets or sets a value indicating whether to cancel edit mode for the control.
    Syntax
    'Declaration
     
    Public Property Cancel As Boolean
    public bool Cancel {get; set;}

    Property Value

    true if entering edit mode should be canceled; otherwise, false.
    Remarks
    Setting this property to true prevents the control from entering edit mode. This can be used to enforce custom validation or other pre-editing conditions. The default value is false, allowing edit mode to be entered.
    See Also