Skip to main content

AppointmentFormControllerBase.DeleteAppointment() Method

In This Article

Deletes the appointment currently being edited in the form from the collection to which it belongs.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public virtual void DeleteAppointment()

#Remarks

If the appointment currently being edited is not the newly created appointment (this option is specified via the AppointmentFormControllerBase.IsNewAppointment property) and it belongs to a certain collection of appointments, then its Appointment.Delete method will be called.

NOTE

An appointment can be deleted only if the AppointmentFormControllerBase.CanDeleteAppointment property is set to true.

See Also