Skip to main content

ASPxScheduler.AllowAppointmentDelete Event

Occurs when the scheduler initialize an appointment.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v23.2.dll

NuGet Package: DevExpress.Web.Scheduler


public event AppointmentOperationEventHandler AllowAppointmentDelete

Event Data

The AllowAppointmentDelete event's data class is AppointmentOperationEventArgs. The following properties provide information specific to this event:

Property Description
Allow Gets or sets a value indicating whether an end-user is allowed to perform a particular action.
Appointment Gets the appointment for which the event was raised. Inherited from AppointmentEventArgs.
Recurring Gets or sets a value indicating if the appointment is recurring.


The AllowAppointmentDelete event allows you to handle whether the appointment is allowed to be deleted.

Refer to the SchedulerControl.AllowAppointmentDelete topic, to learn more.

ASPxScheduler1.OptionsCustomization.AllowAppointmentEdit = UsedAppointmentType.Custom;
        ASPxScheduler1.OptionsCustomization.AllowAppointmentDelete = UsedAppointmentType.Custom;

protected void ASPxScheduler1_AllowAppointmentEditDelete(object sender, AppointmentOperationEventArgs e)
    if (e.Appointment.Subject == "Test") {
        e.Allow = false;
See Also