Skip to main content

SchedulerControl.OptionsBehavior Property

Provides access to the Scheduler control’s behavior options.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public OptionsBehavior OptionsBehavior { get; set; }

Property Value

Type Description
OptionsBehavior

An OptionsBehavior object which contains a set of properties specifying the Scheduler control’s behavior.

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.

Use the OptionsBehavior property to set behavior options for the Scheduler control. For instance, you can specify the ID value of the time zone (the OptionsBehavior.ClientTimeZoneId property), whether the Reminders form should be shown, when the reminder is triggered (the OptionsBehavior.ShowRemindersForm property), whether the right-click should select a time cell under the cursor (the OptionsBehavior.SelectOnRightClick), etc. To get the complete list of the available options and their descriptions, see OptionsBehavior.

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