Skip to main content

TcxSchedulerWebServiceStorageResourceItem.EventColor Property

Specifies the color common to all user events in the web service resource.

Declaration

property EventColor: TColor read; write; default clDefault;

Property Value

Type Default
TColor clDefault

Remarks

Use this property to set a specific color that fills all resource’s user events whose LabelColor property is set to clDefault. The EventColor property is particularly useful if you need to mark the imported events in the scheduling area that displays ungrouped events from multiple resources.

The Scheduler control uses its Look & Feel settings to fill an imported user event within the scheduling area if the following conditions are met:

  • Both the EventColor property and the event’s LabelColor property are set to clDefault;

  • The source online calendar does not provide information on event colors.

Note

The web service storage resource automatically imports the corresponding event colors from a connected Google calendar (that is, the resource has a Google online event data provider authorized in an online account). Not all online calendar types support event colors.

The default EventColor property value is clDefault.

See Also