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

GridBand.VisibleIndex Property

Gets the band’s visual position within its owner (within a parent band or, for root bands, within a View).

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
[DefaultValue(-1)]
public virtual int VisibleIndex { get; set; }

#Property Value

Type Default Description
Int32 -1

A zero-based integer value specifying the band’s visual position. -1 if the band is invisible.

#Remarks

To hide and then restore a band, use the GridBand.Visible property. To move a band to a specific position, use the GridBandCollection.MoveTo method.

See Also