TcxSchedulerNavigatorButton.ActualImageList Property
References the built-in or user-defined image collection.
Declaration
property ActualImageList: TCustomImageList read;
Property Value
Type |
---|
TCustomImageList |
Remarks
The ActualImageList property gets a reference to the built-in or user-defined image collection depending upon the ImageIndex property value and whether the current resource navigation button is a built-in or custom one. If the ImageIndex property is set to -1 and the current button is a built-in button, then the ActualImageList property references the built-in image collection. If the current button is a custom button and the ImageIndex property is set to 0 or greater, then a reference to the user-defined image collection will be returned.
Note
if the user-defined image collection was not set (see the TcxSchedulerResourceNavigator.ButtonImages property) and a value of 0 or greater is assigned to the ImageIndex property, then the ActualImageList property returns nil. The current button will be drawn as a blank button.
Use the ActualImageList property when performing custom drawing.