Vcl.ComCtrls.TCustomListView.OnGetImageIndex
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.