A newer version of this page is available. Switch to the current version.

SchedulerControl.BeforeAppointmentItemDelete Event

Occurs before deleting an appointment and allows you to cancel the deletion.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v18.2.dll


public event AppointmentItemCancelEventHandler BeforeAppointmentItemDelete
Public Event BeforeAppointmentItemDelete As AppointmentItemCancelEventHandler

Event Data

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

Property Description
Appointment Gets the appointment for which the element is raised. Inherited from AppointmentItemEventArgs.
Cancel Gets or sets a value indicating whether deleting the specified appointment should be canceled.


Use the AppointmentItemEventArgs.Appointment property to get an appointment being deleted. To cancel the deletion, set the AppointmentItemCancelEventArgs.Cancel property to true.

See Also