TcxSchedulerStorageResourceItem Class
An event storage resource persisted in a data store.
Declaration
TcxSchedulerStorageResourceItem = class(
TCollectionItem
)
Remarks
This class implements a resource stored in an event persistence manager component. A resource is a specific category that allows you to group user events according to different criteria, such as event creator names, common topics, etc. The associated Scheduler control’s OptionsView.GroupingKind property value determines how the scheduling area displays user events attributed to different resources.
The TcxSchedulerStorageResourceItem
class has public API members that allow you to do the following:
Specify the resource’s display name and unique identifier (Name and ResourceID).
Identify if the resource’s content is editable (CanModify).
Enable or disable read-only mode (ReadOnly).
Mark the resource with an icon from the image list associated with the resource container (ImageIndex).
Identify if the resource has an assigned icon (ActualImageIndex).
Access the collection to which the resource belongs (Collection).
Specify which days within the resource’s calendar include work hours (WorkDays).
Specify the work hours the resource displays (WorkStart and WorkFinish).
Show or hide the resource and its user events within the scheduling area of the associated Scheduler control (Visible).
Identify the event and scheduling area colors (ActualEventColor and BackgroundColor).
Specify the background color of the scheduling area that shows the resource (Color).
Direct TcxSchedulerStorageResourceItem Class Reference
The event storage resource collection‘s Items property references a TcxSchedulerStorageResourceItem
object.