Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerEventLabels.IndexOfColor(TColor) Method

Returns the zero-based index of the label by its AColor color in the TcxSchedulerEventLabels collection.

#Declaration

Delphi
function IndexOfColor(AColor: TColor): Integer;

#Parameters

Name Type
AColor TColor

#Returns

Type
Integer

#Remarks

This method returns -1 if there is no color in the collection specified by AColor.

See Also