Skip to main content
A newer version of this page is available. .

Appointment.OriginalOccurrenceStart Property

Gets the Appointment.Start value for the appointment in a recurrence series that conforms to the recurrence rule.

Namespace: DevExpress.XtraScheduler

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

Declaration

DateTime OriginalOccurrenceStart { get; }

Property Value

Type Description
DateTime

A DateTime value that is the end of the appointment.

Remarks

The OriginalOccurrenceStart property stores the original Appointment.Start value of an appointment occurrence before it was changed or deleted. Therefore, for the recurring series exceptions, it contains the Start value of a regular occurrence in the series. For normal appointments and patterns the OriginalOccurrenceStart value equals the Start value.

Tip

Use the OriginalOccurrenceStart property in a query when handling the SchedulerStorageBase.FetchAppointments event to retrieve exceptions for a certain interval.

The Appointment.OriginalOccurrenceStart and Appointment.OriginalOccurrenceEnd values are stored in the data source fields specified with the AppointmentMappingInfo.OriginalOccurrenceStart and AppointmentMappingInfo.OriginalOccurrenceEnd mappings. After the existing database is upgraded to add the fields, call the static helper’s OriginalOccurrenceDateHelper.Update method only once to populate the added fields.

See Also