Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerControl.BeforeAppointmentItemDelete Event

OBSOLETE

Use the AppointmentRemoving event instead (t809526).

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

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

[Browsable(false)]
[Obsolete("Use the SchedulerControl.AppointmentRemoving event instead (t809526).", false)]
public event AppointmentItemCancelEventHandler BeforeAppointmentItemDelete

#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.

#Remarks

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

See Also