A newer version of this page is available. Switch to the current version.

AppointmentItem.RestoreOccurrence() Method

Replaces an exceptional recurring appointment with a regular occurrence.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll


public void RestoreOccurrence()
Public Sub RestoreOccurrence


When a regular recurring appointment is modified or deleted, you can use the RestoreOccurrence method to reset these changes and restore the regular occurrence.


The method throws an exception if the current appointment is not an occurrence (its AppointmentItem.Type is not AppointmentType.Occurrence).

See Also