Skip to main content

TcxGridTableView.OnCustomDrawGroupSummaryCell Event

Fires each time a group summary is about to be drawn in a group row that belongs to the currently processed View.

Declaration

property OnCustomDrawGroupSummaryCell: TcxGridGroupSummaryCellCustomDrawEvent read; write;

Remarks

Implement the OnCustomDrawGroupSummaryCell event handler to custom paint the group summary located in a group row.

Sender specifies the currently processed View.

ACanvas specifies the drawing surface.

ARow specifies the group row in which the group summary is currently drawn.

AColumn specifies the column in which the group summary is currently drawn.

ASummaryItem specifies the currently drawn group summary.

AViewInfo provides details for rendering the group summary.

ADone specifies whether default painting is required. Set ADone to True, to prevent default painting.

To manually paint group summaries located in group footer panels, handle the View’s OnCustomDrawFooterCell event instead.

See Also