Vcl.VirtualImageList.TVirtualImageList.DisabledOpacity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisabledOpacity: Byte read FDisabledOpacity write SetDisabledOpacity default 125;

C++

__property System::Byte DisabledOpacity = {read=FDisabledOpacity, write=SetDisabledOpacity, default=125};

Properties

Type Visibility Source Unit Parent
property published
Vcl.VirtualImageList.pas
Vcl.VirtualImageList.hpp
Vcl.VirtualImageList TVirtualImageList

Description

Defines the opacity of an image if Item.Disabled is True.

Disabled images are shown on controls whith Enabled set to False.

Note: DisabledOpacity and DisabledGrayscale can be used at the same time.

Use DisabledOpacity and DisabledGrayscale to change how the disabled versions of images are drawn.

Use DisabledOpacity to make disabled images semi-transparent.

For more information about adding disabled images to an Image List, please see Supporting high-DPI images with the Image Collection and Virtual ImageList components

See Also