Reverts the specified appointment of the AppointmentType.ChangedOccurrence or AppointmentType.DeletedOccurrence type to the AppointmentType.Occurrence type.
public bool RestoreAppointment( AppointmentItem apt )
Public Function RestoreAppointment( apt As AppointmentItem ) As Boolean
The DevExpress.Xpf.Scheduling.AppointmentItem object that is a changed occurrence to restore.
true, if the appointment could not be restored; otherwise, false.
The method does not restore the specified appointment and returns false in either of the following cases:
- It would lead to conflicts restricted by the AllowAppointmentConflicts property and the CustomAllowAppointmentConflicts event
- The Cancel property of your AppointmentRestoring event implementation returns true.