Back to Devexpress

TcxCustomImageList.ColorDepth Property

vcl-cximagelist-dot-tcxcustomimagelist-3af27ceb.md

latest1.3 KB
Original Source

TcxCustomImageList.ColorDepth Property

Specifies the color depth (the pixel format) of the stored images.

Declaration

delphi
property ColorDepth; default cd32Bit;

Property Value

TypeDefaultDescription
TColorDepthcd32Bit

The color depth of images in the list.

|

Remarks

Options include:

ValueDescription
cdDefaultThe default color depth.
cdDeviceDependentThe image color depth is device-dependent.
cd4BitThe 4-bit color depth for grayscale images.
cd8BitThe 8-bit color depth for 8-bit true color and color-mapped images.
cd16BitThe 16-bit color depth for High color RGB images.
cd24BitThe 24-bit color depth for True color RGB images.
cd32BitThe 32-bit color depth for True color RGBA images.

Note

Every ColorDepth property change calls the Clear procedure.

See Also

GetPixelFormat(HIMAGELIST)

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit