Skip to main content
A newer version of this page is available. .

OptionsCustomization.AllowDisplayAppointmentForm Property

Gets or sets the option specifying whether the Edit Appointment dialog can be invoked.

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public AllowDisplayAppointmentForm AllowDisplayAppointmentForm { get; set; }

Property Value

Type Description
AllowDisplayAppointmentForm

A AllowDisplayAppointmentForm enumeration member.

Available values:

Name Description
Auto

The Edit Appointment form can be displayed only for editable appointments.

Never

The Edit Appointment form can not be displayed for any appointments.

Always

The Edit Appointment form can be displayed both for editable and read-only appointments. Note that when this form is shown for read-only appointments, all its editors are disabled.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDisplayAppointmentForm
SchedulerControl
.OptionsCustomization.AllowDisplayAppointmentForm

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 AllowDisplayAppointmentForm property to specify whether the Edit Appointment dialog should be invoked when an end-user double-clicks an existing appointment. To prevent end-users from editing existing appointments via this dialog, set the AllowDisplayAppointmentForm property value to AllowDisplayAppointmentForm.Never.

Note

Note that even if the AllowDisplayAppointmentForm property is set to Never, an end-user may invoke the Edit Appointment dialog by double-clicking an empty time cell to create a new appointment.

To get an example of using the OptionsCustomization.Allow* properties and handling the SchedulerControl.Allow* events, refer to How to: Set End-User Restrictions (legacy).

See Also