Skip to main content

TcxGridBandedTableView.OnCustomDrawBandHeader Event

Occurs when a band header within a Banded Table View needs to be painted.

Declaration

property OnCustomDrawBandHeader: TcxGridBandCustomDrawHeaderEvent read; write;

Remarks

This event fires every time a band header needs to be painted. As with other custom draw events, it provides a canvas for the grid control (the ACanvas parameter), ViewInfo to get the bounding rectangle of the band header (the AViewInfo parameter and its Bounds property).

Sender is the View that initiated 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 the band header.

See Also