Skip to main content

TcxGridBandedTableViewStyles.OnGetBandHeaderStyle Event

Occurs whenever the band header should be redrawn.

Declaration

property OnGetBandHeaderStyle: TcxGridBandGetHeaderStyle read; write;

Remarks

You can handle the OnGetBandHeaderStyle event to redefine the style for a specific band header. This event occurs every time it is necessary to redraw a band header.

The ABand parameter is the band object that requires the style. By returning the style via the AStyle parameter you can override the style for the band header defined by the Styles.BandHeader property.

The Sender parameter is the Banded Table View containing the band.

Note

You can also customize the header style of a band directly by using the Styles.Header property, or the Styles.OnGetHeaderStyle of the Band object.

See Also