ASPxScheduler.AllowAppointmentConflicts Event
Occurs when the scheduler finds appointments that are in conflict, and the SchedulerOptionsCustomization.AllowAppointmentConflicts property is set to AppointmentConflictsMode.Custom.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v18.1.dll
Declaration
Event Data
The AllowAppointmentConflicts event's data class is AppointmentConflictEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Appointment | Gets the appointment for which the event was raised. Inherited from AppointmentEventArgs. |
AppointmentClone | Gets the clone of the appointment being processed in the SchedulerControl.AllowAppointmentConflicts or the SchedulerControl.AllowAppointmentConflicts events. |
Conflicts | Gets the collection of appointments which are considered to be conflicting with the current appointment. |
Interval | Gets the time interval which the event was raised for. |
The event data class exposes the following methods:
Method | Description |
---|---|
RemoveConflictsWithDifferentResource(AppointmentBaseCollection, Object) | Removes all the conflicting appointments from the specified collection whose Appointment.ResourceId doesn’t match the specified Id. |
Remarks
Refer to the SchedulerControl.AllowAppointmentConflicts topic, to learn more.
See Also