Skip to main content
Table of Contents

TTMSFNCDataGrid.OnBeforeDrawHeader Event

Occurs before the grid header is drawn.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
OnBeforeDrawHeader: TTMSFNCDataGridBeforeDrawHeaderEvent;
__property TTMSFNCDataGridBeforeDrawHeaderEvent OnBeforeDrawHeader = {read=FOnBeforeDrawHeader, write=FOnBeforeDrawHeader};

Parameters

Name Description
Sender Grid that fired the event.
AGraphics Graphics context used for drawing.
ARect Header area rectangle.
ACanDraw True by default. Set to False to skip the default background, bar and chip drawing and the after-draw event.