Skip to main content

TcxSchedulerStorageResourceItem.BackgroundColor Property

Returns the background color of the scheduling area that displays the resource.

Declaration

property BackgroundColor: TColor read;

Property Value

Type
TColor

Remarks

You can use this property to identify the color of the associated Scheduler control’s scheduling area that shows the resource’s user events. This BackgroundColor property implementation always returns the Color property value. In the case of a web service storage resource (that is, an online calendar), this property can return either a custom Color property value or the color imported from a connected calendar.

If the BackgroundColor property returns clDefault, the background color depends on the resource’s index within the collection and is obtained automatically either from the active skin or from the array of predefined resource colors.

See Also