Skip to main content

TcxGridBandStyles.OnGetHeaderStyle Event

Occurs whenever the band header is to be redrawn.

Declaration

property OnGetHeaderStyle: TcxGridBandGetHeaderStyle read; write;

Remarks

You can handle the OnGetHeaderStyle event to redefine the style of a specific band’s header. This event occurs every time it is necessary to redraw the header of the band defined by the ABand parameter. By returning a style via the AStyle parameter, you can override the style for the band’s header as defined by the View’s Styles.BandHeader.

The Sender parameter determines the View containing the band.

See Also