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

AppointmentConflictsCalculator Class

Enables you to discover conflicting appointments.

Namespace: DevExpress.XtraScheduler.Native

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

Declaration

public class AppointmentConflictsCalculator

Remarks

The AppointmentConflictsCalculator class enables you to find out whether there are conflicting appointments within the specified time interval and obtain a collection of these appointments.

To check appointments, create an appointment collection and pass it to the AppointmentConflictsCalculator‘s constructor. Call the AppointmentConflictsCalculator.CalculateConflicts method to compare the specified appointment with the calculator’s collection.

Note that if both compared appointments last infinitely (the RecurrenceInfo.Range property is set to the RecurrenceRange.NoEndDate value), the conflicts calculator skips this pair.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AppointmentConflictsCalculator class.

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.

Inheritance

Object
AppointmentConflictsCalculator
See Also