SchedulerControl.RemindersFormDefaultAction Event

Occurs when an end-user doesn't click the Dismiss or Snooze button on the Reminders Form, but simply closes it. The SchedulerOptionsBehaviorBase.RemindersFormDefaultAction property should be set to Custom.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

public event RemindersFormDefaultActionEventHandler RemindersFormDefaultAction
Public Event RemindersFormDefaultAction As RemindersFormDefaultActionEventHandler

Event Data

The RemindersFormDefaultAction event's data class is RemindersFormDefaultActionEventArgs. The following properties provide information specific to this event:

Property Description
AlertNotifications Gets any reminders currently triggered. Inherited from ReminderBaseEventArgs.
Cancel Gets or sets whether the Reminders Form closing is canceled or not.
Handled Gets or sets whether an event was handled, if it was handled the default actions are not required.

Remarks

Handle the RemindersFormDefaultAction event to perform a custom action when the Reminders Form is closing and the user did not make a choice. Note that the reminders notifications which are shown in the Reminders Form can be accessed via the ReminderEventArgs.AlertNotifications property. To prevent a form from being closed, set the RemindersFormDefaultActionEventArgs.Cancel property to true.

NOTE

If the RemindersFormDefaultActionEventArgs.Handled property will not be set to true in this event handler, then all reminders will be dismissed. This behavior is similar to MS Outlook.

See Also