Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerTimeRanges.Add(TDateTime,TDateTime) Method

Creates a new TcxSchedulerTimeRange instance and adds it to the TcxSchedulerTimeRanges collection.

#Declaration

Delphi
function Add(const AStart: TDateTime; const AFinish: TDateTime): TcxSchedulerTimeRange;

#Parameters

Name Type
AStart TDateTime
AFinish TDateTime

#Returns

Type
TcxSchedulerTimeRange

#Remarks

The TcxSchedulerTimeRange object represents the current free time block which can be used to schedule the non-intersecting user event.

The Add method returns the newly created TcxSchedulerTimeRange instance.

The AStart and AFinish parameters specify the start and end times of the current time block, respectively.

See Also