Skip to main content

AppointmentConflictEventArgs.AppointmentClone Property

Gets the clone of the appointment being processed in the SchedulerControl.AllowAppointmentConflicts or the SchedulerControl.AllowAppointmentConflicts events.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public Appointment AppointmentClone { get; }

Property Value

Type Description
Appointment

An Appointment object which is a clone of the AppointmentEventArgs.Appointment.

Remarks

Use the AppointmentClone property to access an appointment after an end-user has dragged-and-dropped it onto another time interval, to check for conflicts after this appointment has been dropped. An appointment returned by the AppointmentClone property is a copy of the appointment currently being processed in this event (AppointmentEventArgs.Appointment) for a different time interval. The time interval for the appointment clone equals the AppointmentConflictEventArgs.Interval value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentClone property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also