Skip to main content

AppointmentFormControllerBase.DeleteAppointment() Method

Deletes the edited appointment.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public override void DeleteAppointment()

Remarks

If the appointment currently being edited isn’t the newly created appointment (this option is specified via the AppointmentFormControllerBase.IsNewAppointment property), then its IPersistentObject.Delete method will be called.

Note

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the DeleteAppointment() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also