Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerControl.RemindersFormAction Event

Occurs when a user clicks the Dismiss, Dismiss All, Snooze buttons on the Reminders Form, or closes the form.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public event EventHandler<RemindersFormActionEventArgs> RemindersFormAction

#Event Data

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

Property Description
ActionType Gets the type of the Reminders Form action.
AlertNotifications Gets the list of items displayed in the Reminder Form’s list box.
Handled Gets or sets whether the default behavior of the Reminder Form buttons/close form should not be performed.
SelectedAlertNotifications Gets the list of items that are selected in the Reminder Form’s list box.
SnoozeSpan Gets the Reminders Form‘s snooze time span.

#Remarks

Handle the RemindersFormAction event to perform a custom action when a user clicks Dismiss, Dismiss All, Snooze buttons on the Reminders Form, or closes the form.

You can use the RemindersFormActionEventArgs.AlertNotifications property to access reminder notifications that are displayed in the Reminders Form.

The following code snippet displays a message box when a user clicks any of the Reminder Form buttons:

private void schedulerControl1_RemindersFormAction(object sender, DevExpress.XtraScheduler.RemindersFormActionEventArgs e) {
    MessageBox.Show($"Action {e.ActionType}; number of active reminders: {e.AlertNotifications.Count}; number of selected reminders: {e.SelectedAlertNotifications.Count}; snooze interval: {e.SnoozeSpan}");
    e.Handled = checkBox1.Checked;
}
See Also