Skip to main content
Table of Contents

TTMSFNCTileList.OnBeforeDrawItemBackground Event

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

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

Syntax

FMX.TMSFNCTileList.hppPascalC++
OnBeforeDrawItemBackground: TTMSFNCTileListBeforeDrawItemBackgroundEvent;
__property TTMSFNCTileListBeforeDrawItemBackgroundEvent OnBeforeDrawItemBackground = {read=FOnBeforeDrawItemBackground, write=FOnBeforeDrawItemBackground};

Parameters

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