[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TCustomImageList.Reference

Provides access to the reference class for the specified resolution.

## Declaration

Source position: imglist.pp line 414

`public property TCustomImageList.Reference[AImageWidth: Integer] : TWSCustomImageListReference read GetReference;`

## Description

Reference is an indexed read-only TWSCustomImageListReference property which provides access to the class instance for a resolution using the specified image width. Reading the value in the property causes the image resolution and its reference class to be created if it has not already been allocated.

Reference is used get access to the handle for the image list used in the resolution. The handle is a required argument in TWSCustomImageListResolutionClass methods.

## See also

TCustomImageList.GetResolution |  | Gets the value for the indexed Resolution property.
TCustomImageListResolution.Reference |  | Reference to the widgetset image list using this resolution.