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

TcxSchedulerEventImages.Add(Integer,Boolean) Method

Loads a custom icon into the collection, which will then be within the user event‘s rectangle.

#Declaration

Delphi
function Add(AImageIndex: Integer; AutoHide: Boolean = True): TcxSchedulerEventImageItem;

#Parameters

Name Type
AImageIndex Integer
AutoHide Boolean

#Returns

Type
TcxSchedulerEventImageItem

#Remarks

The Add method creates a new instance of the icon specified by the AImageIndex and adds it to the TcxSchedulerEventImages collection.

The AImageIndex parameter specifies the image’s position in the scheduler’s EventImages collection.

The AutoHide parameter specifies whether the newly created icon is hidden if there isn’t enough space to draw the entire icon.

See Also