Skip to main content
Table of Contents

TTMSFNCDataGridCell.DrawContent Method

Prepares the cell control and paints the content layers: text, control, comment indicator, sort indicator, and filter button.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridCell

Syntax

FMX.TMSFNCDataGridCell.hppPascalC++
procedure DrawContent(AGraphics: TTMSFNCGraphics); virtual;
virtual void __fastcall DrawContent(TTMSFNCGraphics* AGraphics);

Remarks

Each layer is painted only when its element is in DrawElements (and, for the indicators and filter button, when the corresponding property is set). Override to add content; call inherited to keep the default layers.

Parameters

Name Description
AGraphics Graphics context to paint into.