Appointment.OriginalOccurrenceStart Property
Returns the beginning of the occurence chain or the original appointment start 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 - the
OriginalOccurenceStart
andOriginalOccurenceEnd
properties return start and end dates that 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 by the AppointmentMappingInfo.OriginalOccurrenceStart and AppointmentMappingInfo.OriginalOccurrenceEnd mappings. You can call the static OriginalOccurrenceDateHelper.Update method to forcibly populate these fields.