A newer version of this page is available. Switch to the current version.

GridBandCollection.LastVisibleBand Property

Gets the last visible band within the collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v18.2.dll


public virtual GridBand LastVisibleBand { get; }

Property Value

Type Description

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


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