TCnImageList.ColorDepth Property
Gets the color depth of the image list.
published property ColorDepth: TColorDepth read GetColorDepth write SetColorDepth default TColorDepth.cdDepth8Bit;
Property Value
Type: TColorDepth
The number of available colors for the image. The default is Depth8Bit.
When you set the color depth to a new value, the Handle for the image list is recreated. Because setting the ColorDepth property causes the handle to be recreated, you should set ColorDepth prior to setting the Images property.