Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.Draw Method

Paints the grid: the cells of the root renderer, then the footer and the header areas.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure Draw(AGraphics: TTMSFNCGraphics; ARect: TRectF); override;
virtual void __fastcall Draw(TTMSFNCGraphics* AGraphics, const System::Types::TRectF &ARect);

Remarks

Nothing is drawn while the grid is inside a BeginUpdate / EndUpdate block.

Parameters

Name Description
AGraphics Graphics context used for drawing.
ARect Rectangle of the control being painted.