TTMSFNCDataGridNodeCell.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: TTMSFNCDataGridNodeCell
Inherited from: TTMSFNCDataGridCell
Overloads
Overload 1
Prepares the cell control and paints the content layers: text, control, comment indicator, sort indicator, and filter button.
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. |
Overload 2
Paints the inherited content, then the expand icon (when collapsed) or the collapse icon (when expanded) in NodeRect.
procedure DrawContent(AGraphics: TTMSFNCGraphics); override;
virtual void __fastcall DrawContent(TTMSFNCGraphics* AGraphics);
Remarks
The icon is only painted when gcdNodeIcon is in TTMSFNCDataGridCell.DrawElements and the grid supplied an icon bitmap.
Parameters
| Name | Description |
|---|---|
AGraphics |
Graphics context to paint into. |