TTMSFNCDataGridFNCButtonCell.Draw Method
Paints the complete cell: applies the layout fill, stroke, and font, raises the before-draw notification, then calls DrawBackground and DrawContent and raises the after-draw notification.
API unit family: TMSFNCDataGridCell
Declaring type: TTMSFNCDataGridFNCButtonCell
Inherited from: TTMSFNCDataGridCell
Syntax
procedure Draw(AGraphics: TTMSFNCGraphics); virtual;
virtual void __fastcall Draw(TTMSFNCGraphics* AGraphics);
Remarks
When the before-draw handler sets ACanDraw to False, neither the background, the content, nor the after-draw notification is processed.
Parameters
| Name | Description |
|---|---|
AGraphics |
Graphics context to paint into. |