Skip to main content

TcxCustomGridTableItem.OnCustomDrawCell Event

Occurs every time a table or card cell is about to be drawn.

Declaration

property OnCustomDrawCell: TcxGridTableDataCellCustomDrawEvent read; write;

Remarks

As with other custom draw events it provides a canvas for the grid control (ACanvas parameter), ViewInfo to get the bounding rectangle of the painted element (AViewInfo parameter and its Bounds property). Sender is usually the element that caused the repaint. The ADone parameter is initially False you should set it to True to tell the grid that you have chosen to custom draw this item.

See Also