Back to Devexpress

BandedGridHitInfo.Band Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-viewinfo-dot-bandedgridhitinfo.md

latest1.8 KB
Original Source

BandedGridHitInfo.Band Property

Gets the band located under the test point.

Namespace : DevExpress.XtraGrid.Views.BandedGrid.ViewInfo

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public GridBand Band { get; set; }
vb
Public Property Band As GridBand

Property Value

TypeDescription
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).

See Also

BandedGridHitInfo Class

BandedGridHitInfo Members

DevExpress.XtraGrid.Views.BandedGrid.ViewInfo Namespace