Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDrawGridReportLink.OnCustomDrawCellEx Event

In This Article

Enables you to custom paint cell contents.

#Declaration

Delphi
property OnCustomDrawCellEx: TdxCustomDrawCellExEvent read; write;

#Remarks

Handle the OnCustomDrawCellEx event to custom paint cell contents. This event’s Sender parameter identifies the report link which is about to be rendered. The ACol and ARow parameters identify the cell to be painted by the column and row indexes respectively. The ACanvas parameter represents the drawing surface. The AFont parameter provides the report link’s font settings. The ABoundsRect and AClientRect parameters specify the rendered cell’s bounding rectangles including or excluding borders.

If no additional processing is required after the OnCustomDrawCellEx event handler execution, the handler should set the ADone parameter to True. Note that in this case, the OnCustomDrawCell event will not be raised.

Note

This event is only raised if the SupportedCustomDraw property is set to True.

See Also