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

TcxGridBandStyles.OnGetHeaderStyle Event

In This Article

Occurs whenever the band header is to be redrawn.

#Declaration

Delphi
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