FMX.ListView.Types.TListItemImage.ImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ImageIndex: TImageIndex read FImageIndex write SetImageIndex default -1;

C++

__property System::Uitypes::TImageIndex ImageIndex = {read=FImageIndex, write=SetImageIndex, default=-1};

Properties

Type Visibility Source Unit Parent
property public
FMX.ListView.Types.pas
FMX.ListView.Types.hpp
FMX.ListView.Types TListItemImage

Description

The zero-based index representing an image in the used list of images.

The default is -1.

You should paint the ImageIndex image when ImageSource returns ImageList.

If non-existing index is specified, an image is not drawn and no exception is raised.

See Also