SchedulerOptionsCustomization.AllowDisplayAppointmentForm Property
Gets or sets whether the Appointment Form can be invoked.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
[DefaultValue(AllowDisplayAppointmentForm.Auto)]
public AllowDisplayAppointmentForm AllowDisplayAppointmentForm { get; set; }
Property Value
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. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AllowDisplayAppointmentForm |
---|---|---|
WinForms Controls | SchedulerControl |
|
ASP.NET Bootstrap Controls | BootstrapScheduler |
|
XAF: Cross-Platform .NET App UI & Web API | ASPxSchedulerListEditor |
|
ASP.NET MVC Extensions | SchedulerSettings |
|
ASP.NET Web Forms Controls | ASPxScheduler |
|
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.