Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridBandedTableViewStyles.OnGetBandHeaderStyle Event

In This Article

Occurs whenever the band header should be redrawn.

#Declaration

Delphi
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