Skip to main content
Table of Contents

TTMSFNCDataGrid.OnBeforeDrawHeaderGroup Event

Occurs before a header group is drawn.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
OnBeforeDrawHeaderGroup: TTMSFNCDataGridBeforeDrawHeaderGroupEvent;
__property TTMSFNCDataGridBeforeDrawHeaderGroupEvent OnBeforeDrawHeaderGroup = {read=FOnBeforeDrawHeaderGroup, write=FOnBeforeDrawHeaderGroup};

Parameters

Name Description
Sender Grid that fired the event.
AGraphics Graphics context, prepared with the chip fill, stroke and font.
AHeaderGroup Chip that will be drawn.
ACanDraw True by default. Set to False to suppress the default drawing and the after-draw event.