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

TcxGridTableView.OnCustomDrawColumnHeader Event

In This Article

Occurs every time when a column header is about to be drawn.

#Declaration

Delphi
property OnCustomDrawColumnHeader: TcxGridColumnCustomDrawHeaderEvent read; write;

#Remarks

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

See Also