Skip to main content

OptionsBehavior.RemindersFormDefaultAction Property

Gets or sets the type of default action which is applied when the Reminders form is closed.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public RemindersFormDefaultAction RemindersFormDefaultAction { get; set; }

Property Value

Type Description
RemindersFormDefaultAction

A RemindersFormDefaultAction enumeration value specifying the type of action to be applied after the Reminders form is closed.

Available values:

Name Description
DismissAll

After the Reminders form is closed, all reminders will be dismissed.

SnoozeAll

After the Reminders form is closed, all reminders will be snoozed.

Custom

After the Reminders form is closed, whether the reminders are snoozed or dismissed is determined manually in the SchedulerControl.RemindersFormDefaultAction or SchedulerControl.RemindersFormDefaultAction event handler.

Property Paths

You can access this nested property as listed below:

Object Type Path to RemindersFormDefaultAction
SchedulerControl
.OptionsBehavior .RemindersFormDefaultAction

Remarks

Important

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.

If the OptionsBehavior.ShowRemindersForm property value is true, the Reminders form is displayed when the reminder is triggered. The Reminders form contains several buttons enabling the end-user to perform the required action - e.g. to snooze or dismiss the reminder. If the user decides to close the form (by clicking the Close button in the upper right corner, for example), an action specified by the RemindersFormDefaultAction property is performed. By default, it is the RemindersFormDefaultAction.DismissAll action.

If the RemindersFormDefaultAction is set to RemindersFormDefaultAction.Custom and the end-user closes the form, then the SchedulerControl.RemindersFormDefaultAction event occurs.

Example

This example demonstrates how to specify basic characteristics of the Scheduler control using the SchedulerControl.OptionsBehavior property.

<dxsch:SchedulerControl.OptionsBehavior>
    <dxsch:OptionsBehavior ClientTimeZoneId="Central Pacific Standard Time" 
                           RecurrentAppointmentDeleteAction="Ask" 
                           RecurrentAppointmentEditAction="Occurrence"
                           RemindersFormDefaultAction="DismissAll"
                           ShowRemindersForm="True" 
                           SelectOnRightClick="True"/>
</dxsch:SchedulerControl.OptionsBehavior>
See Also