TcxCustomListView.OnGetImageIndex Event
Occurs when it is required to determine image associated with an item.
Declaration
property OnGetImageIndex: TLVNotifyEvent read; write;
Remarks
Handle the OnGetImageIndex event if you wish to take some specific action when the TcxListView control attempts to retrieve the index of the image, which is associated with an item. Images that can be displayed in the TcxListView control are stored in the StateImages, LargeImages and SmallImages properties. By handling the OnGetImageIndex event you may vary images assigned to a specific item.
Sender specifies the TcxCustomInnerListView.
Item specifies the item, whose image index is requested.
See Also