Skip to main content

TcxSchedulerEventImages.AddStandardImage(TcxSchedulerEventImageType,Boolean) Method

Loads a built-in icon into the collection for displaying within the user event‘s rectangle.

Declaration

function AddStandardImage(AImageType: TcxSchedulerEventImageType; AutoHide: Boolean = True): TcxSchedulerEventImageItem;

Parameters

Name Type
AImageType TcxSchedulerEventImageType
AutoHide Boolean

Returns

Type
TcxSchedulerEventImageItem

Remarks

The AddStandardImage method creates a new instance of the icon specified by the AImageType and adds it to the TcxSchedulerEventImages collection. The available types of built-in icons are specified by the TcxSchedulerEventImageType enumeration.

The AImageType parameter specifies which of the user event‘s predefined status the icon represents.

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

See Also