Skip to main content

TcxSchedulerHolidaysLocation Members

The TcxSchedulerHolidaysLocation represents a holiday location (generally, a country).

Constructors

Name Description
Create(TCollection) Inherited from TCollectionItem.

Properties

Name Description
Collection Inherited from TCollectionItem.
Count Returns the number of holidays for this location.
DisplayName Inherited from TCollectionItem.
Holidays Provides indexed access to holidays registered for this location.
ID Inherited from TCollectionItem.
Index Inherited from TCollectionItem.
Locations Returns the location collection that stores this location object.
Name Specifies the holiday location name.
Visible Specifies whether the holiday location is available to the scheduler.

Methods

Name Description
AddHoliday(string,TDateTime) Adds a holiday with the specified name and date to the collection of holidays that belong to the current location.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
Clear Deletes all holidays that belong to this location.
Delete(Integer) Removes the holiday specified by its index.
Equals(TObject) Inherited from TObject.
Find(string,TDateTime) Searches for a holiday with the specified name and date.
GetDisplayName Inherited from TCollectionItem.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
PopulateHolidayDates(TcxSchedulerDateList,TDate,TDate,Boolean) Populates a list with holiday dates corresponding to a certain holiday name.
Release Inherited from TCollectionItem.
SetDisplayName(String) Inherited from TCollectionItem.
Sort(TcxDataSortOrder,Boolean) Sorts holidays by either name or date.
ToString Inherited from TObject.
See Also