TTMSFNCDataGridCell.DrawControl Method
Paints the cell control from its cached bitmap in ControlRect.
API unit family: TMSFNCDataGridCell
Declaring type: TTMSFNCDataGridCell
Syntax
procedure DrawControl(AGraphics: TTMSFNCGraphics); virtual;
virtual void __fastcall DrawControl(TTMSFNCGraphics* AGraphics);
Remarks
Nothing is painted for a control that is shown live, or while the live control is active under the mouse. During export, a control that supports vector export is exported directly into AGraphics instead of drawn as a bitmap.
Parameters
| Name | Description |
|---|---|
AGraphics |
Graphics context to paint into. |