Skip to main content

TcxGridTableView.OnCustomDrawColumnHeader Event

Occurs when a column header needs to be painted.

Declaration

property OnCustomDrawColumnHeader: TcxGridColumnCustomDrawHeaderEvent read; write;

Remarks

This event occurs every time a column header needs to be painted. 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