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.v20.1.Core.dll

Declaration

public Appointment AppointmentClone { get; }
Public ReadOnly Property AppointmentClone As Appointment

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.

See Also