API:Vcl.Controls.TImageList.GrayscaleFactor
Delphi
property GrayscaleFactor: Byte read FGrayscaleFactor write FGrayscaleFactor default 0;
C++
__property GrayscaleFactor = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TImageList |
Description
The GrayscaleFactor property specifies the level of darkness in gray scaling when drawing a disabled image.
The GrayscaleFactor property specifies the level of darkness in gray scaling when drawing a disabled image. Where 1 is most dark and 255 is least dark.
The default value is 0.
Note: when value is 0, then disabled image drawing is controlled by DisabledStyle property, which applies saturation.