Vcl.ComCtrls.TCustomListView.OnGetImageIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetImageIndex: TLVNotifyEvent read FOnGetImageIndex write FOnGetImageIndex;

C++

__property TLVNotifyEvent OnGetImageIndex = {read=FOnGetImageIndex, write=FOnGetImageIndex};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Occurs when an item is about to be displayed in the list view control.

Use OnGetImageIndex to dynamically assign an ImageIndex to the item before it is displayed in the list view control.

OnGetImageIndex is an event handler of type Vcl.ComCtrls.TLVNotifyEvent.

See Also