Skip to main content
Table of Contents

TTMSFNCNavigationPanel.OnBeforeDrawItemBadge Event

Occurs before an item badge is drawn.

API unit family: TMSFNCNavigationPanel Declaring type: TTMSFNCNavigationPanel Inherited from: TTMSFNCCustomNavigationPanel

Syntax

FMX.TMSFNCNavigationPanel.hppPascalC++
OnBeforeDrawItemBadge: TTMSFNCNavigationPanelBeforeDrawItemBadgeEvent;
__property TTMSFNCNavigationPanelBeforeDrawItemBadgeEvent OnBeforeDrawItemBadge = {read=FOnBeforeDrawItemBadge, write=FOnBeforeDrawItemBadge};

Parameters

Name Description
Sender The navigation panel that raises the event.
AGraphics The graphics context used for drawing.
ARect The badge drawing rectangle.
AItem The item that owns the badge.
ABadge The badge text to draw.
ADefaultDraw Set to False to suppress default drawing.