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

TcxSchedulerDateList.IndexOf(TDateTime) Method

Returns the zero-based index of the ADate date in the TcxSchedulerDateList collection.

#Declaration

Delphi
function IndexOf(ADate: TDateTime): Integer; reintroduce;

#Parameters

Name Type
ADate TDateTime

#Returns

Type
Integer

#Remarks

This method returns -1 if there is no ADate date in the TcxSchedulerDateList collection.

Note

the IndexOf method matches dates by the date part of the ADate parameter’s value only. All items are stored in the collection without a fractional part (without time value).

See Also