Skip to main content
Table of Contents

TTMSFNCDataGridCellBeforeDrawEvent Event Type

Signature of the cell-level before-draw notification, raised by TTMSFNCDataGridCell.Draw before anything is painted.

API unit family: TMSFNCDataGridCell

Remarks

The grid routes this notification to TTMSFNCCustomDataGrid.OnBeforeDrawCell; handle that event in application code.

Parameters

Name Description
Sender The TTMSFNCDataGridCell being drawn.
AGraphics Graphics context, already set up with the fill, stroke, and font of the cell layout.
ACanDraw True on entry. Set to False to skip the default background and content painting; the after-draw notification is then skipped as well.