Back to Devexpress

SchedulerOptionsCustomization.AllowDisplayAppointmentForm Property

corelibraries-devexpress-dot-xtrascheduler-dot-scheduleroptionscustomization-490c97c0.md

latest3.8 KB
Original Source

SchedulerOptionsCustomization.AllowDisplayAppointmentForm Property

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

Declaration

csharp
[DefaultValue(AllowDisplayAppointmentForm.Auto)]
public AllowDisplayAppointmentForm AllowDisplayAppointmentForm { get; set; }
vb
<DefaultValue(AllowDisplayAppointmentForm.Auto)>
Public Property AllowDisplayAppointmentForm As AllowDisplayAppointmentForm

Property Value

TypeDefaultDescription
AllowDisplayAppointmentFormAuto

An AllowDisplayAppointmentForm enumeration member.

|

Available values:

NameDescription
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:

LibraryObject TypePath to AllowDisplayAppointmentForm
WinForms ControlsSchedulerControl

.OptionsCustomization .AllowDisplayAppointmentForm

| | ASP.NET Bootstrap Controls | BootstrapScheduler |

.OptionsEditing .AllowDisplayAppointmentForm

| | ASP.NET MVC Extensions | SchedulerSettings |

.OptionsCustomization .AllowDisplayAppointmentForm

| | ASP.NET Web Forms Controls | ASPxScheduler |

.OptionsCustomization .AllowDisplayAppointmentForm

|

Remarks

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

SchedulerOptionsCustomization Members

DevExpress.XtraScheduler Namespace