TdxStringGridReportLink.OnCustomDrawCell Event
Occurs when drawing a cell.
Declaration
property OnCustomDrawCell: TdxCustomDrawTextCellEvent read; write;
Remarks
Write an OnCustomDrawCell event handler to draw a cell. The ACanvas parameter determines the drawing canvas.
| Value | Description |
|---|---|
| ABoundsRect | Rectangular cell area including borders. |
| AClientRect | Rectangular cell area excluding borders. |
| ACol | Column of a cell. |
| ARow | Row of a cell. |
| AText | Context of a cell. It can be changed, if necessary. |
| AColor | Specifies background color. It can be changed, if necessary. |
| AFont | Font of a cell. It can be changed, if necessary. |
| ATextAlignX | Horizontal text alignment within a cell. It can be changed, if necessary. |
| ATextAlignY | Vertical text alignment within a cell. It can be changed, if necessary. |
| ADone | Determines whether the OnCustomDrawCell event handler entirely draws a cell. If ADone is True, the default drawing procedure is not called. |
Note
This property is only accessible if the SupportedCustomDraw property is set to True.
See Also