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

BandedGridView.InvalidateBandHeader(GridBand) Method

Invalidates a band header or the entire band panel.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public virtual void InvalidateBandHeader(
    GridBand band
)

#Parameters

Name Type Description
band GridBand

A GridBand object representing the band whose header is to be repainted. null (Nothing in Visual Basic) to invalidate the entire band panel.

#Remarks

The InvalidateBandHeader method may be useful when you custom paint band headers and need to redraw a particular header due to changes that don’t lead to automatic repainting. Refer to the Manually Invalidating Controls topic for more information.

See Also