Vcl.VirtualImageList.TVirtualImageList.DisabledGrayscale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisabledGrayscale: Boolean  read FDisabledGrayScale write SetDisabledGrayscale;

C++

__property bool DisabledGrayscale = {read=FDisabledGrayscale, write=SetDisabledGrayscale, nodefault};

Properties

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

Description

Controls if disabled images (Item.Disabled is True) are drawn in grayscale.

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

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

Use DisabledGreyscale to convert colourful images to shades of gray, a common way to represent the icon for an unavailable action.

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