corelibraries-devexpress-dot-xtrascheduler-dot-scheduleroptionscustomization-490c97c0.md
Gets or sets whether the Appointment Form can be invoked.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
[DefaultValue(AllowDisplayAppointmentForm.Auto)]
public AllowDisplayAppointmentForm AllowDisplayAppointmentForm { get; set; }
<DefaultValue(AllowDisplayAppointmentForm.Auto)>
Public Property AllowDisplayAppointmentForm As AllowDisplayAppointmentForm
| Type | Default | Description |
|---|---|---|
| AllowDisplayAppointmentForm | Auto |
An 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.
|
You can access this nested property as listed below:
| Library | Object Type | Path to AllowDisplayAppointmentForm |
|---|---|---|
| WinForms Controls | SchedulerControl |
.OptionsCustomization .AllowDisplayAppointmentForm
| | ASP.NET Bootstrap Controls | BootstrapScheduler |
.OptionsEditing .AllowDisplayAppointmentForm
| | ASP.NET MVC Extensions | SchedulerSettings |
.OptionsCustomization .AllowDisplayAppointmentForm
| | ASP.NET Web Forms Controls | ASPxScheduler |
.OptionsCustomization .AllowDisplayAppointmentForm
|
Use this option to prevent the Appointment Form from being invoked when an existing appointment is double-clicked by an end-user. To do this, set the AllowDisplayAppointmentForm property to AllowDisplayAppointmentForm.Never.
Note
Note that even if the AllowDisplayAppointmentForm property is set to Never , an end-user may invoke the Appointment Form by double-clicking an empty time cell to create a new appointment. Use the SchedulerOptionsCustomization.AllowAppointmentCreate property, to control this situation.
See Also
SchedulerOptionsCustomization Class