Skip to main content

BandedGridView.InvalidateBandHeader(GridBand) Method

Invalidates a band header or the entire band panel.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v23.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