Skip to main content
A newer version of this page is available. .

BandedGridView.InvalidateBandHeader(GridBand) Method

Invalidates a band header or the entire band panel.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InvalidateBandHeader(GridBand) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also