Skip to main content

Appointment.OriginalOccurrenceEnd Property

Returns the end of the occurence chain or the original appointment end date. This information allows you to build complex queries in the SchedulerStorageBase.FetchAppointments event handler.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core


DateTime OriginalOccurrenceEnd { get; }

Property Value

Type Description

A DateTime value that is the end of the appointment.


OriginalOccurenceStart and OriginalOccurenceEnd properties return different values depending on the appointment type.

  • Pattern - these properties specify the start of the earliest appointment and the end of the latest appointment in the occurrence chain (including changed and deleted occurrences).

  • Changed or deleted occurrence - OriginalOccurenceStart and OriginalOccurenceEnd properties return start and end dates this occurrence had before it was changed or deleted.

  • Regular occurrence - the OriginalOccurenceStart property returns the Appointment.Start property value; the OriginalOccurenceEnd property is identical to the Appointment.End property.

The Appointment.OriginalOccurrenceStart and Appointment.OriginalOccurrenceEnd values are stored in the data source fields specified with the AppointmentMappingInfo.OriginalOccurrenceStart and AppointmentMappingInfo.OriginalOccurrenceEnd mappings. You can call the static OriginalOccurrenceDateHelper.Update method to forcibly populate these fields.

See Also