Vcl.ImgList.TCustomImageList.BkColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BkColor: TColor read GetBkColor write SetBkColor default clNone;

C++

__property System::Uitypes::TColor BkColor = {read=GetBkColor, write=SetBkColor, default=536870911};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList TCustomImageList

Description

Determines which background color to use when drawing an image.

Use BkColor to specify the color used for the masked regions of the images in the list. When BkColor is clNone, the image is drawn transparently using the mask to define the transparent areas. Otherwise, the value of BkColor appears in the masked out portions.

Note: BkColor has no effect when the Masked property is false.

See Also