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

TcxEditingControl.OnCustomDrawCell Event

In This Article

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

#Declaration

Delphi
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