Skip to main content

TcxGridTableView.OnCustomDrawGroupCell Event

Enables you to paint grouped rows in a custom manner.

Declaration

property OnCustomDrawGroupCell: TcxGridTableCellCustomDrawEvent read; write;

Remarks

Handle the OnCustomDrawGroupCell event to take control of the painting of grouped rows. This event fires just before a grouping row is painted. The ACanvas and AViewInfo event parameters specify the canvas to draw upon and the ViewInfo object about the rows, respectively. Please refer to the TcxGridTableCellViewInfo class description for details on this ViewInfo object.

The ADone parameter specifies whether default painting should be performed after executing the event handler. Set it to True to prohibit default painting for the processed row. Leave the parameter set to False to paint the group row using the regular painting process.

The Sender parameter specifies the View whose row is being painted.

See Also