Skip to main content
Table of Contents

TTMSFNCDataGrid.OnBeforeDrawHeaderGroupLevel Event

Occurs before a header group level is drawn.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
OnBeforeDrawHeaderGroupLevel: TTMSFNCDataGridBeforeDrawHeaderGroupLevelEvent;
__property TTMSFNCDataGridBeforeDrawHeaderGroupLevelEvent OnBeforeDrawHeaderGroupLevel = {read=FOnBeforeDrawHeaderGroupLevel, write=FOnBeforeDrawHeaderGroupLevel};

Parameters

Name Description
Sender Grid that fired the event.
AGraphics Graphics context used for drawing.
ARect Level strip rectangle.
ALevel Zero-based nesting level (0 to 2).
AActive True when the pointer is over this strip.
ACanDraw True by default. Set to False to suppress the default drawing and the after-draw event.