API:Vcl.Controls.TDragImageList.ColorDepth
Delphi
property ColorDepth: TColorDepth read FColorDepth write SetColorDepth default 1;
C++
__property ColorDepth = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragImageList |
Description
Color depth of images in list.
Vcl.Controls.TDragImageList.ColorDepth inherits from Vcl.ImgList.TCustomImageList.ColorDepth. All content below this line refers to Vcl.ImgList.TCustomImageList.ColorDepth.
Color depth of images in list.
ColorDepth is the color depth type TColorDepth of images in the list. The image list is cleared when this value changes.
If you set the ColorDepth property to cd32Bit, and the ImageList contains transparent images, you must enable Run-Time Themes so that the images blend properly when drawn on controls. In the IDE, go to Project > Options > Application.