Skip to main content

TcxSchedulerHolidays Members

A component that stores holidays to be used in the bound scheduler.

Constructors

Name Description
Create(TComponent) Inherited from TComponent.

Properties

Name Description
ComObject Inherited from TComponent.
ComponentCount Inherited from TComponent.
ComponentIndex Inherited from TComponent.
Components Inherited from TComponent.
ComponentState Inherited from TComponent.
ComponentStyle Inherited from TComponent.
Count Returns the number of holidays that are stored in the TcxSchedulerHolidays component.
DesignInfo Inherited from TComponent.
Items Provides indexed access to the holidays in the TcxSchedulerHolidays component.
Locations Specifies a collection of holiday locations.
Name Inherited from TComponent.
Observers Inherited from TComponent.
Owner Inherited from TComponent.
Tag Inherited from TComponent.
VCLComObject Inherited from TComponent.

Methods

Name Description
AddHoliday(string,string,TDateTime) Adds a holiday to the TcxSchedulerHolidays component and returns a reference to this holiday.
AddListener(IcxSchedulerHolidaysListener) Registers an object that is to be notified when the TcxSchedulerHolidays component changes.
AddLocation(string) Adds a holiday location to the TcxSchedulerHolidays component returns a reference to this location.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginInvoke(TAsyncConstArrayFunctionEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProc,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProcedureEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncFunctionEvent,TObject) Inherited from TComponent.
BeginInvoke(TAsyncProcedureEvent,TObject) Inherited from TComponent.
BeginInvoke(TProc,TObject) Inherited from TComponent.
BeginInvoke<TResult>(TAsyncConstArrayFunc<TResult>,Untyped[],TObject) Inherited from TComponent.
BeginInvoke<TResult>(TFunc<TResult>,TObject) Inherited from TComponent.
BeginUpdate Prevents the scheduler’s View from flickering during batch updates.
Clear Removes all holidays from the component.
DestroyComponents Inherited from TComponent.
Destroying Inherited from TComponent.
EndFunctionInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke<TResult>(IAsyncResult) Inherited from TComponent.
EndUpdate Updates the scheduler’s View and enables further repaint operations.
Equals(TObject) Inherited from TObject.
ExecuteAction(TBasicAction) Inherited from TComponent.
FindComponent(String) Inherited from TComponent.
FreeNotification(TComponent) Inherited from TComponent.
FreeOnRelease Inherited from TComponent.
GetChildren(TGetChildProc,TComponent) Inherited from TComponent.
GetHashCode Inherited from TObject.
GetHolidayNamesByDate(TDate,string,Boolean) Constructs a string with names of holidays whose dates match the specified date.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
GetParentComponent Inherited from TComponent.
HasParent Inherited from TComponent.
InsertComponent(TComponent) Inherited from TComponent.
IsImplementorOf(IInterface) Inherited from TComponent.
Loaded Inherited from TComponent.
LoadFromFile(string) Reads holidays from the specified file into the TcxSchedulerHolidays component.
LoadFromStream(TStream) Reads holidays from the specified stream into the TcxSchedulerHolidays component.
Notification(TComponent,TOperation) Inherited from TComponent.
PopulateHolidayDates(TcxSchedulerDateList,TDate,TDate,Boolean,Boolean) Populates a list with holidays available within the specified time period.
ReferenceInterface(IInterface,TOperation) Inherited from TComponent.
RemoveComponent(TComponent) Inherited from TComponent.
RemoveFreeNotification(TComponent) Inherited from TComponent.
RemoveListener(IcxSchedulerHolidaysListener) Deletes a listener from the collection of listeners registered using the AddListener method.
RestoreFromIniFile(string,string) Restores holidays from an INI file that was previously saved by the StoreToIniFile method.
RestoreFromRegistry(string,string) Restores holidays from the registry that was previously saved by the StoreToRegistry method.
RestoreFromStorage(string,TcxCustomReaderClass,string) Restores holidays from a custom storage that was previously saved by the StoreToStorage method.
RestoreFromStream(TStream,string) Restores holidays from a stream that was previously saved by the StoreToStream method.
SaveToFile(string) Writes holidays from the TcxSchedulerHolidays component to the specified file.
SaveToStream(TStream) Writes holidays from the TcxSchedulerHolidays component to the specified stream.
SetParentComponent(TComponent) Inherited from TComponent.
SetSubComponent(Boolean) Inherited from TComponent.
StoreToIniFile(string,string) Saves holidays from the TcxSchedulerHolidays component to an INI file.
StoreToRegistry(string,string) Saves holidays from the TcxSchedulerHolidays component to the registry.
StoreToStorage(string,TcxCustomWriterClass,string) Saves holidays from the TcxSchedulerHolidays component to a custom storage.
StoreToStream(TStream,string) Saves holidays from the TcxSchedulerHolidays component to a stream.
ToString Inherited from TObject.
UpdateAction(TBasicAction) Inherited from TComponent.

Events

Name Description
OnExportHoliday Fires when a holiday is about to be sent to the stream.
OnImportHoliday Fires when a holiday is about to be written from the stream into the TcxSchedulerHolidays component.
OnImportUnknownDate Fires when a date of an unknown format is about to be written from the stream into the TcxSchedulerHolidays component.
See Also