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

BandedGridHitInfo.Band Property

Gets the band located under the test point.

Namespace: DevExpress.XtraGrid.Views.BandedGrid.ViewInfo

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public GridBand Band { get; set; }

Property Value

Type Description
GridBand

A GridBand object representing the band located under the test point.

Remarks

The Band property returns a band object in the following cases:

  • the test point is over a band header;
  • the test point is over a data cell displayed within a column that belongs to a band.

In all other cases, the Band property returns null (Nothing in Visual Basic).

The following code snippets (auto-collected from DevExpress Examples) contain references to the Band property.

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