TTMSFNCDataGridButtonCell.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: TTMSFNCDataGridButtonCell
Inherited from: TTMSFNCDataGridCell
Syntax
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. |