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

TcxCustomSchedulerStorage.PopulateHolidayDates(TcxSchedulerDateList,TDate,TDate,Boolean,Boolean) Method

Populates AList with holiday dates by the specified period.

#Declaration

Delphi
procedure PopulateHolidayDates(AList: TcxSchedulerDateList; AStart: TDate; AFinish: TDate; AOnlyVisible: Boolean = True; AClearList: Boolean = True); virtual;

#Parameters

Name Type
AList TcxSchedulerDateList
AStart TDate
AFinish TDate
AOnlyVisible Boolean
AClearList Boolean

#Remarks

AStart and AFinish specify the time range.

AOnlyVisible specifies which holidays are to be written to AList. Set AOnlyVisible to True, to populate AList with holidays that are available to the scheduler (the TcxSchedulerHolidaysLocation.Visible and TcxSchedulerHolidaysLocationHoliday.Visible properties are True). Otherwise, all the holidays (stored in the TcxSchedulerHolidays component) will be placed in AList.

AClearList specifies whether AList is to be cleared prior to writing new items.

All the holiday reference duplicates are automatically deleted if linked storages are connected to the same TcxSchedulerHolidays component.

See Also