TcxSchedulerEventConflictsInfo Class
Contains information on overlapped user events.
Declaration
TcxSchedulerEventConflictsInfo = class(
TObject
)
Remarks
This class provides information on overlapped user events either for the specified time period or for a particular user event. For the latter one the time period is identified as the start and end times of that user event.
To instantiate a TcxSchedulerEventConflictsInfo object to obtain information for the required time range use the Create constructor overload which takes time bounds as parameters.
To obtain information on overlapping for a particular user event use either the TcxSchedulerEvent.CreateConflictsInfo method or the Create constructor with the Event parameter.
The TcxSchedulerEvent.CreateConflictsInfo method instantiates either an object of the TcxSchedulerEventConflictsInfo class or its descendant depending upon the cxSchedulerEventConflictsInfoClass constant’s value. Using the cxSchedulerEventConflictsInfoClass constant developers can provide their own implementation via the TcxSchedulerEventConflictsInfo‘s subclass.
The TcxSchedulerEventConflictsInfo class allows you to determine whether there is overlapping within the specified time range (see the HasConflicts property) and whether there are available time blocks for scheduling non- overlapped user events within the specified time range (see the HasFreeTime property).
The TcxSchedulerEventConflictsInfo class provides access to the collection which contains all the overlapped user events (if any) that fall within the specified time range (see the ConflictEvents property).