Vcl.ImgList.TDrawingStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDrawingStyle = (dsFocus, dsSelected, dsNormal, dsTransparent);

C++

enum DECLSPEC_DENUM TDrawingStyle : unsigned char { dsFocus, dsSelected, dsNormal, dsTransparent };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList Vcl.ImgList

Description

TDrawingStyle indicates the style to use when rendering an image from an image list.

TDrawingStyle describes how to render an image from an image list component. The following table describes the possible values:



Value Meaning

dsFocus

Draws the image blending 25% with the color specified by the BlendColor property. This only affects image lists that contain masks.

dsSelected

Draws the image blending 50% with the color specified by the BlendColor property. This only affects image lists that contain masks.

dsNormal

Draws the image using the color specified in the BkColor property. If the BkColor is clNone, the image is drawn transparently using the mask.

dsTransparent

Draws using the mask regardless of the BkColor setting.