Skip to main content
Table of Contents

TTMSFNCDataGridButtonCell.DrawBackground Method

Paints the cell rectangle with the current fill and stroke, stroking only the TTMSFNCDataGridCellLayout.Sides of the layout.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridButtonCell Inherited from: TTMSFNCDataGridCell

Syntax

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

Remarks

Nothing is painted when DrawElements contains neither gcdFill nor gcdStroke; when only one of them is included, the other is disabled on AGraphics.

Parameters

Name Description
AGraphics Graphics context to paint into.