Skip to main content

TcxGridColumn.OnCustomDrawHeader Event

Occurs when a column header needs to be painted.

Declaration

property OnCustomDrawHeader: TcxGridColumnCustomDrawHeaderEvent read; write;

Remarks

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

See Also