Skip to main content
Table of Contents

TTMSFNCTileList.OnBeforeDrawItemImage Event

Occurs before an item image is drawn and allows default drawing to be suppressed.

API unit family: TMSFNCTileList Declaring type: TTMSFNCTileList Inherited from: TTMSFNCCustomTileList

Syntax

FMX.TMSFNCTileList.hppPascalC++
OnBeforeDrawItemImage: TTMSFNCTileListBeforeDrawItemContentEvent;
__property TTMSFNCTileListBeforeDrawItemContentEvent OnBeforeDrawItemImage = {read=FOnBeforeDrawItemImage, write=FOnBeforeDrawItemImage};

Parameters

Name Description
Sender Object that triggered the event.
AGraphics Graphics context used for drawing.
ARect Bounds of the item image.
AItemIndex Zero-based index of the item.
ADefaultDraw Set to False to skip default drawing.