SchedulerControl.RemoveAppointments(IEnumerable<AppointmentItem>, Boolean) Method
Removes the specified appointments from the AppointmentItems collection.
public bool RemoveAppointments( IEnumerable<AppointmentItem> appointments, bool showDeleteOccurrenceWindow = false )
Public Function RemoveAppointments( appointments As IEnumerable(Of AppointmentItem), showDeleteOccurrenceWindow As Boolean = False ) As Boolean
A collection of DevExpress.Xpf.Scheduling.AppointmentItem objects to be removed from the AppointmentItems collection.
true, to display the message box that notifies about removing occurrences; otherwise, false.
true, if the appointments have been removed from the AppointmentItems collection; otherwise, false.
The method does not add the specified appointment and returns false in either of the following cases:
- The appointments collection is empty
- The Cancel property of your AppointmentRemoving event implementation returns true.