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.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
DateTime | A DateTime value that is the end of the appointment. |
Remarks
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
andOriginalOccurenceEnd
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; theOriginalOccurenceEnd
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.