Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridBandCollection.LastVisibleBand Property

Gets the last visible band within the collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#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