Vcl.ComCtrls.TListItem.SubItemImages
Delphi
property SubItemImages[Index: Integer]: Integer read GetSubItemImage write SetSubItemImage;
C++
__property int SubItemImages[int Index] = {read=GetSubItemImage, write=SetSubItemImage};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TListItem |
Description
Indicates which images (if any) should appear next to subitems of the item.
Use SubItemImages to associate the subitems of this list item with images from the list view's SmallImages property, where 0 identifies the first image in SmallImages, 1 identifies the second image, and so on.
The Index parameter identifies the subitem. It corresponds to the index of each subitem string in the SubItems property.
The value of any subitem image index can be overridden in an OnGetSubItemImage event handler.
Note: Subitems are only visible when the list view's ViewStyle property is set to vsReport.