Skip to main content

RemindersFormDefaultActionEventArgs.Cancel Property

Gets or sets whether the Reminder from closing is canceled or not.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public bool Cancel { get; set; }

#Property Value

Type Description
Boolean

true if the form closing is canceled; otherwise, false.

#Remarks

To cancel closing the Reminder form when an end-user tries to close it manually, set the OptionsBehavior.RemindersFormDefaultAction property to RemindersFormDefaultAction.Custom and set the Cancel and RemindersFormDefaultActionEventArgs.Handled properties to true in the SchedulerControl.RemindersFormDefaultAction event handler.

See Also