Skip to main content

GridBandCollection.LastVisibleBand Property

Gets the last visible band within the collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public virtual GridBand LastVisibleBand { get; }

Property Value

Type Description
GridBand

A GridBand object representing the last visible band within the collection. null (Nothing in Visual Basic) if the collection contains no visible bands.

Remarks

This property is used to obtain the last band within the collection whose GridBand.Visible property value is true. Reading the property value results in traversing collection elements backward starting from the last one. The first band found with its GridBand.Visible property set to true is returned.

See Also