TcxGridTableView.OnCustomDrawColumnHeader Event
Occurs every time when a column header is about to be drawn.
Declaration
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