Skip to main content

TcxEditingControl.OnCustomDrawCell Event

Occurs when a cell within a control needs to be painted.

Declaration

property OnCustomDrawCell: TcxCustomDrawViewInfoItemEvent read; write;

Remarks

The OnCustomDrawCell property occurs every time a cell needs to be painted. Similar to the other custom draw events, it provides a canvas for the control (the ACanvas parameter) and the view information to get the bounding rectangle of the painted element (the AViewInfo parameter and its Bounds property). Sender is usually an element that causes the repainting. The ADone parameter is initially False and you should set it to True to notify the control that you have chosen to custom draw the item.

See Also