Occurs when an end-user does not click the Dismiss or Snooze button on the Reminders form, but simply closes it. The OptionsBehavior.RemindersFormDefaultAction property should be set to RemindersFormDefaultAction.Custom.
public event RemindersFormDefaultActionEventHandler RemindersFormDefaultAction
Public Event RemindersFormDefaultAction As RemindersFormDefaultActionEventHandler
The RemindersFormDefaultAction event's data class is RemindersFormDefaultActionEventArgs. The following properties provide information specific to this event:
|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.|
You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
Handle the RemindersFormDefaultAction event to perform a custom action when the Reminders form was closed and an end-user did not make a choice. Note that the reminder 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.
If the RemindersFormDefaultActionEventArgs.Handled property is not set to true in this event handler, then all reminders will be dismissed. This behavior is similar to Microsoft® Outlook®.