API:Vcl.Controls.TImageList.BkColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BkColor: TColor read GetBkColor write SetBkColor default 536870911;

C++

__property BkColor = {default=536870911};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TImageList

Description

Determines which background color to use when drawing an image.

Vcl.Controls.TImageList.BkColor inherits from Vcl.ImgList.TCustomImageList.BkColor. All content below this line refers to Vcl.ImgList.TCustomImageList.BkColor.

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