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

TcxSchedulerHolidaysLocation.AddHoliday(string,TDateTime) Method

Adds a holiday with the specified name and date to the collection of holidays that belong to the current location.

#Declaration

Delphi
function AddHoliday(const AName: string; const ADate: TDateTime): TcxSchedulerHolidaysLocationHoliday; overload; virtual;

#Parameters

Name Type
AName string
ADate TDateTime

#Returns

Type
TcxSchedulerHolidaysLocationHoliday

#Remarks

AName specifies the holiday name.

ADate specifies the holiday date.

The AddHoliday method returns a reference to the newly created holiday.

See Also