Back to Devexpress

AppointmentCRUDEventArgs.Appointments Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentcrudeventargs-2ae74d12.md

latest2.3 KB
Original Source

AppointmentCRUDEventArgs.Appointments Property

Returns the list of appointments to update, add, or delete in the scheduler’s underlying source.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public IReadOnlyList<AppointmentItem> Appointments { get; }
vb
Public ReadOnly Property Appointments As IReadOnlyList(Of AppointmentItem)

Property Value

TypeDescription
IReadOnlyList<AppointmentItem>

A list of DevExpress.Xpf.Scheduling.AppointmentItem objects that have been modified or deleted in the scheduler.

|

Remarks

When a user updates or deletes a pattern, the scheduler deletes all ChangedOccurrence and DeletedOccurrence appointments for the corresponding recurring series. The Occurrence appointments are not stored in any collection to avoid a stack overflow for infinite recurring series. These appointments are automatically generated at runtime based on the pattern’s AppointmentItem.RecurrenceInfo property.

When a user updates a pattern, the scheduler only adds the pattern appointment to the UpdateInSource and Appointments lists. The ChangedOccurrence and DeletedOccurrence appointments are added to the DeleteFromSource list.

See Also

AppointmentCRUDEventArgs Class

AppointmentCRUDEventArgs Members

DevExpress.Xpf.Scheduling Namespace