Skip to main content

TcxSchedulerEventLabels.Add(TColor,string) Method

Adds a new instance of a color label to the TcxSchedulerEventLabels collection.

Declaration

function Add(AColor: TColor; const ACaption: string): TcxSchedulerEventLabel;

Parameters

Name Type
AColor TColor
ACaption string

Returns

Type
TcxSchedulerEventLabel

Remarks

The Add method returns the new TcxSchedulerEventLabel instance.

AColor specifies a color for the user event‘s color label

ACaption specifies a name for the associated user event‘s color

See Also